Set up app engine dispatch rules
This commit is contained in:
parent
bd54cee952
commit
db52225e46
|
|
@ -1,7 +1,7 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Karla';
|
font-family: 'Karla';
|
||||||
src: url('fonts/karla-variable.ttf') format('truetype');
|
src: url('fonts/karla-variable.ttf') format('truetype');
|
||||||
font-weight: 1 999;
|
font-weight: 200 800;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
const API_URL = process.env.NODE_ENV === 'production' ? 'https://api-dot-crabfit.uc.r.appspot.com' : 'http://localhost:8080'
|
const API_URL = process.env.NODE_ENV === 'production' ? 'https://api.crab.fit' : 'http://localhost:8080'
|
||||||
|
|
||||||
const handleError = error => {
|
const handleError = error => {
|
||||||
if (error && error.status) {
|
if (error && error.status) {
|
||||||
|
|
|
||||||
5
dispatch.yaml
Normal file
5
dispatch.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
dispatch:
|
||||||
|
- url: "api.crab.fit/*"
|
||||||
|
service: api
|
||||||
|
- url: "crab.fit/*"
|
||||||
|
service: default
|
||||||
Loading…
Reference in a new issue