36 lines
594 B
TOML
36 lines
594 B
TOML
[dev]
|
|
command = "hugo serve"
|
|
targetPort = 1313
|
|
port = 8888
|
|
publish = "public"
|
|
autoLaunch = false
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.125.4"
|
|
NODE_VERSION = "18"
|
|
|
|
[[edge_functions]]
|
|
path = "/*"
|
|
function = "root"
|
|
|
|
|
|
[[edge_functions]]
|
|
function = "webfinger"
|
|
path = "/.well-known/webfinger"
|
|
|
|
[[redirects]]
|
|
from = "/robots.txt"
|
|
to = "/robots.txt"
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
from = "/sitemap.xml"
|
|
to = "/sitemap.xml"
|
|
status = 200
|
|
|
|
[[headers]]
|
|
for = "/pretty-feed-v3.xsl"
|
|
[headers.values]
|
|
Content-Type = "application/xml; charset=utf-8"
|
|
X-Content-Type-Options = "nosniff"
|