18 lines
682 B
TOML
18 lines
682 B
TOML
# Cloudflare(Git 集成 + 必填 Deploy command)
|
||
# =====================================================================
|
||
# 供控制台「Deploy command」使用(任选其一,与下面 wrangler.toml 配套):
|
||
# npx wrangler deploy
|
||
# npm run deploy:cf
|
||
# 若更偏向经典 Pages CLI,可使用: npm run deploy:cf-git
|
||
# Build command 仍为 npm run build;输出目录 dist 会先由构建生成,再由 deploy 上传。
|
||
#
|
||
name = "hgtk-landing"
|
||
compatibility_date = "2025-05-01"
|
||
|
||
[assets]
|
||
directory = "./dist"
|
||
# 客户端路由刷新时回退到 index.html(与 public/_redirects 作用一致)
|
||
not_found_handling = "single-page-application"
|
||
|
||
# account_id = ""
|