forked from dandi/dandi-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
46 lines (40 loc) · 2.09 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[build]
publish = "dist"
command = "git fetch --tags && yarn run build"
ignore = "false"
# Staging
[context.staging.environment]
NODE_VERSION = "20" # Netlify defaults to node.js 10, but @types/node requires a more recent version
VITE_APP_OAUTH_API_ROOT = "https://staging-api.lincbrain.org/oauth/"
VITE_APP_OAUTH_CLIENT_ID = "Dk0zosgt1GAAKfN8LT4STJmLJXwMDPbYWYzfNtAl"
VITE_APP_DANDI_API_ROOT = "https://staging-api.lincbrain.org/api/"
VITE_APP_SENTRY_DSN = "https://833c159dc622528b21b4ce4adef6dbf8@o4506237212033024.ingest.sentry.io/4506237213212672"
VITE_APP_SENTRY_ENVIRONMENT = "staging"
VITE_CLOUDFRONT_NEUROGLANCER_URL = "https://neuroglancer-staging.lincbrain.org"
VITE_APP_WEBKNOSSOS_API_ROOT="https://webknossos.lincbrain.org/"
# Deploy previews
[context.deploy-preview.environment]
NODE_VERSION = "20" # Netlify defaults to node.js 10, but @types/node requires a more recent version
VITE_APP_OAUTH_API_ROOT = "https://staging-api.lincbrain.org/oauth/"
VITE_APP_OAUTH_CLIENT_ID = "Dk0zosgt1GAAKfN8LT4STJmLJXwMDPbYWYzfNtAl"
VITE_APP_DANDI_API_ROOT = "https://staging-api.lincbrain.org/api/"
VITE_APP_SENTRY_DSN = "https://833c159dc622528b21b4ce4adef6dbf8@o4506237212033024.ingest.sentry.io/4506237213212672"
VITE_APP_SENTRY_ENVIRONMENT = "staging"
VITE_CLOUDFRONT_NEUROGLANCER_URL = "https://neuroglancer-staging.lincbrain.org/"
VITE_APP_WEBKNOSSOS_API_ROOT="https://webknossos.lincbrain.org/"
# Production
[context.release.environment]
NODE_VERSION = "20" # Netlify defaults to node.js 10, but @types/node requires a more recent version
VITE_APP_OAUTH_API_ROOT = "https://api.lincbrain.org/oauth/"
VITE_APP_OAUTH_CLIENT_ID = "29651e4821c59cba741b"
VITE_APP_DANDI_API_ROOT = "https://api.lincbrain.org/api/"
VITE_APP_SENTRY_DSN = "https://833c159dc622528b21b4ce4adef6dbf8@o4506237212033024.ingest.sentry.io/4506237213212672"
VITE_APP_SENTRY_ENVIRONMENT = "production"
VITE_CLOUDFRONT_NEUROGLANCER_URL = "https://neuroglancer.lincbrain.org/"
VITE_APP_WEBKNOSSOS_API_ROOT="https://webknossos.lincbrain.org/"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[plugins]]
package = "/netlify/plugins/server-info-build"