dashy/netlify.toml

35 lines
1.2 KiB
TOML
Raw Normal View History

# Enables you to easily deploy a fork of Dashy to Netlify
# without the need to configure anything in admin UI
# Docs: https://www.netlify.com/docs/netlify-toml-reference/
# Essential site config
[build]
base = "/"
command = "yarn build"
publish = "dist"
functions = "./services/serverless-functions"
# Site info, used for the 1-Click deploy page
[template.environment]
STATUSKIT_PAGE_TITLE = "Dashy"
STATUSKIT_COMPANY_LOGO = "https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/logo.png"
STATUSKIT_SUPPORT_CONTACT_LINK = "https://dashy.to"
2021-06-11 20:35:36 +00:00
STATUSKIT_RESOURCES_LINK = "https://github.com/Lissy93/dashy/tree/master/docs"
# Specify handlers to redirect to serverless functions instead of Node API endpoints
[[edge_handlers]]
path = "/status-check"
handler = "cloud-status-check"
[[edge_handlers]]
path = "/config-manager/save"
handler = "not-supported"
[[edge_handlers]]
path = "/config-manager/rebuild"
handler = "not-supported"
# Set any security headers here
[[headers]]
for = "/*"
[headers.values]
# Uncomment to enable Netlify user control. You must have a paid plan.
# Basic-Auth = "someuser:somepassword anotheruser:anotherpassword"