mirror of https://github.com/Lissy93/dashy.git
⚡ Neaten build environment options in Netlify config
This commit is contained in:
parent
da12eb65a0
commit
427e46a702
12
netlify.toml
12
netlify.toml
|
@ -8,14 +8,12 @@
|
||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
publish = "dist"
|
publish = "dist"
|
||||||
functions = "services/serverless-functions"
|
functions = "services/serverless-functions"
|
||||||
environment = { NODE_VERSION = "20.11.1", NODE_OPTIONS = "--openssl-legacy-provider", YARN_FLAGS = "--ignore-engines" }
|
|
||||||
|
|
||||||
# Site info, used for the 1-Click deploy page
|
# Environmental variables for build command
|
||||||
[template.environment]
|
[build.environment]
|
||||||
STATUSKIT_PAGE_TITLE = "Dashy"
|
NODE_VERSION = "20.11.1"
|
||||||
STATUSKIT_COMPANY_LOGO = "https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/logo.png"
|
NODE_OPTIONS = "--openssl-legacy-provider"
|
||||||
STATUSKIT_SUPPORT_CONTACT_LINK = "https://github.com/lissy93/dashy"
|
YARN_FLAGS = "--ignore-engines"
|
||||||
STATUSKIT_RESOURCES_LINK = "https://dashy.to/docs"
|
|
||||||
|
|
||||||
# Redirect the Node endpoints to serverless functions
|
# Redirect the Node endpoints to serverless functions
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
|
|
Loading…
Reference in New Issue