将文件添加到根目录

How to upload files to my sites root directory (https://example.com/file.txt), I’m trying to have loader.io config in the Root directory, i used ./launcher enter app and kept my file in public directory however after updating my instance it is gone.

It’s not possible; for example with Google Search Console validation, you use a DNS method of validation instead.

4 个赞

使用 Cloudflare 代理和 worker 可以实现这一点

  1. 使用 Cloudflare 代理您的网站

  2. 创建一个 HTTP 处理服务,并返回您的 loader-io 代码

  3. 在 worker 的触发器选项卡中将路由添加到 Routes

2 个赞

此主题已自动关闭,距离现在已有 2234 天。不再允许回复。