-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rui Chen <[email protected]> fix vuepress dist path Signed-off-by: Rui Chen <[email protected]>
- Loading branch information
1 parent
62094e7
commit 88391da
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Netlify Config, https://www.netlify.com/docs/netlify-toml-reference/ | ||
[build] | ||
base = "/" | ||
publish = "runatlantis.io/.vuepress/dist/" | ||
command = "pnpm website:build" | ||
|
||
[[redirects]] | ||
from = "/guide/getting-started.html" | ||
to = "/guide/" | ||
status = 301 | ||
force = true | ||
|
||
[[redirects]] | ||
from = "/docs/atlantis-yaml-reference.html" | ||
to = "/docs/repo-level-atlantis-yaml.html" | ||
status = 301 | ||
force = true | ||
|
||
[[headers]] | ||
for = "/*" | ||
[headers.values] | ||
X-Frame-Options = "DENY" | ||
X-XSS-Protection = "1; mode=block" | ||
Content-Security-Policy = "default-src 'self'" | ||
Cache-Control = "public, max-age=0, must-revalidate" | ||
Strict-Transport-Security = "max-age=31536000" | ||
|
||
[[headers]] | ||
for = "*.html" | ||
[headers.values] | ||
Content-Type = "text/html; charset=UTF-8" |
This file was deleted.
Oops, something went wrong.