Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:hammer: Adds base path and headers to Netlify config

Alicia Sykes73fadd7d936d
diff --git a/netlify.toml b/netlify.toml
index 9f61f824..a0bf50ec 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -4,6 +4,7 @@
# Essential site config
[build]
+ base = "/"
command = "yarn build"
publish = "dist"
@@ -13,3 +14,10 @@
STATUSKIT_COMPANY_LOGO = "https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/logo.png"
STATUSKIT_SUPPORT_CONTACT_LINK = "https://dashy.to"
STATUSKIT_RESOURCES_LINK = "https://github.com/Lissy93/dashy/tree/master/docs"
+
+# 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"
\ No newline at end of file