Angular ads.txt应放在角8 SSR中的什么位置?
我在Firebase主机上使用Angular 8服务器端渲染(SSR)。应用程序由firebase功能部署。现在我正在努力从GoogleAdSense添加ads.txt,以及ads.txt应该放在我的项目中的什么位置Angular ads.txt应放在角8 SSR中的什么位置?,angular,deployment,ads,firebase-hosting,server-side-rendering,Angular,Deployment,Ads,Firebase Hosting,Server Side Rendering,我在Firebase主机上使用Angular 8服务器端渲染(SSR)。应用程序由firebase功能部署。现在我正在努力从GoogleAdSense添加ads.txt,以及ads.txt应该放在我的项目中的什么位置 我使用npm运行build:ssr转换主目录中的应用程序 接下来,我将转换的dist目录复制到函数 最后,当distdir在函数dir中追加时,我使用firebase deploy 如果将其放置在正确的目录中,“firebase deploy”是否会将ads.txt上载到主目录
任何帮助都将不胜感激。谢谢Stack 我通过反复试验找到了答案 如果有人坚持这一点,这很容易
npm运行构建:ssr转换应用程序
函数
functions/dist/browser
firebase deploy
命令部署应用程序了http://example.com/ads.txt