为了让Google Pub-Sub验证域名,我必须公开Firebase函数中的一个函数,该函数将被称为googledf40f9f3a4466bd2.html
(以便Google可以下载{{1}的内容并验证它们。)
我尝试了很多选项,但都没有效果:
https://us-central1-<project-name>.cloudfunctions.net/googledf40f9f3a4466bd2.html
exports.googledf40f9f3a4466bd2.html = functions.https.onRequest((request, response) => {
exports.googledf40f9f3a4466bd2%2Ehtml = functions.https.onRequest((request, response) => {
如何让exports.'googledf40f9f3a4466bd2.html' = functions.https.onRequest((request, response) => {
URL工作(并返回一些硬编码的字符串)?