# 将文件添加到根目录

**URL:** https://meta.discourse.org/t/add-files-to-root-directory/86300
**Category:** Support
**Created:** [2018年四月27日 11:53 UTC](https://meta.discourse.org/t/add-files-to-root-directory/86300 "2018-04-27T11:53:05Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![fang](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fang/32/268176_2.png) [@fang](https://meta.discourse.org/u/fang)
#### Post date: [2022年七月29日 10:27 UTC](https://meta.discourse.org/t/add-files-to-root-directory/86300/3 "2022-07-29T10:27:48Z")

</div>

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

1. 使用 Cloudflare 代理您的网站

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

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

---

_[View the full topic](https://meta.discourse.org/t/add-files-to-root-directory/86300)._
