refactor: put "routes" to the top
This commit is contained in:
1 parent
c0e838b780
commit
c6cc3ab561
1 file changed
+4
-4
@@ -7,16 +7,16 @@ main = "src/index.ts"
|
||||
compatibility_date = "2024-10-04"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[assets]
|
||||
directory = "./web/dist"
|
||||
binding = "ASSETS"
|
||||
|
||||
# If you want to use a custom domain, you need to add routes configuration.
|
||||
# 如果你想使用自定义域名,你需要添加 routes 配置
|
||||
#routes = [
|
||||
# { pattern = "email.xxxxx.com", custom_domain = true },
|
||||
#]
|
||||
|
||||
[assets]
|
||||
directory = "./web/dist"
|
||||
binding = "ASSETS"
|
||||
|
||||
# Workers Logs
|
||||
# Docs: https://developers.cloudflare.com/workers/observability/logs/workers-logs/
|
||||
# Configuration: https://developers.cloudflare.com/workers/observability/logs/workers-logs/#enable-workers-logs
|
||||
|
||||
Reference in new issue
Block a user