-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
32 lines (26 loc) · 1.04 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
# Global settings applied to the whole site.
#
# “base” is the directory to change to before starting build. If you set base:
# that is where we will look for package.json/.nvmrc/etc, not repo root!
# “command” is your build command.
# “publish” is the directory to publish (relative to the root of your repo).
[build]
base = ""
command = "react-scripts build"
publish = "/build"
# Production context: All deploys from the main
# repository branch will inherit these settings.
[context.production]
command = "react-scripts build"
[context.production.environment]
REACT_APP_API_URL = "https://labseu4-hackathon-development.herokuapp.com"
# Deploy Preview context: All deploys generated from a pull/merge request
# will inherit these settings.
[context.deploy-preview.environment]
REACT_APP_API_URL = "https://labseu4-hackathon-development.herokuapp.com"
[context.develop.environment]
REACT_APP_API_URL = "https://labseu4-hackathon-development.herokuapp.com"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200