Files
ohif-viewer/platform/app/netlify.toml
T

41 lines
1.1 KiB
TOML
Raw Normal View History

2019-08-13 15:36:46 -04:00
# Netlify Config
#
# TOML Reference:
2019-04-29 08:33:48 -04:00
# https://www.netlify.com/docs/netlify-toml-reference/
2019-08-13 15:36:46 -04:00
#
2019-09-06 15:09:20 -04:00
# We use Netlify for deploy previews and for publishing docs (gh-pages branch).
2019-08-13 15:36:46 -04:00
# https://viewer.ohif.org is created using a different process that is
# managed by CircleCI and deployed to our Google Hosting
#
2019-04-29 08:33:48 -04:00
[build]
base = ""
build = "yarn run build:viewer:ci"
publish = "dist"
2019-08-13 15:36:46 -04:00
# NODE_VERSION in root `.nvmrc` takes priority
# YARN_FLAGS: https://www.netlify.com/docs/build-gotchas/#yarn
2019-04-16 16:39:36 -04:00
[build.environment]
# If 'production', `yarn install` does not install devDependencies
NODE_ENV = "development"
NODE_VERSION = "20.19.0"
YARN_VERSION = "1.22.5"
2019-08-13 15:36:46 -04:00
RUBY_VERSION = "2.6.2"
2019-04-16 16:39:36 -04:00
YARN_FLAGS = "--no-ignore-optional --pure-lockfile"
NETLIFY_USE_YARN = "true"
2019-08-13 15:36:46 -04:00
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
# Multi-key header rules are expressed with multi-line strings.
cache-control = '''
max-age=0,
no-cache,
no-store,
must-revalidate'''