Config and API port

pull/9/head
root 2018-06-04 10:11:01 +02:00
parent 7326544493
commit ae49034ffa
3 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@
"private": true,
"scripts": {
"build": "react-scripts build",
"start": "cd client && node ../node_modules/react-scripts/scripts/start.js"
"start": "node node_modules/react-scripts/scripts/start.js"
},
"dependencies": {
"axios": "^0.18.0",

View File

@ -162,8 +162,8 @@ api_platform:
# The list of enabled formats. The first one will be the default.
formats:
jsonld:
mime_types: ['application/ld+json']
# jsonld:
# mime_types: ['application/ld+json']
json:
mime_types: ['application/json']
@ -178,7 +178,7 @@ api_platform:
jsonproblem:
mime_types: ['application/problem+json']
jsonld:
mime_types: ['application/ld+json']
# jsonld:
# mime_types: ['application/ld+json']
# ...

View File

@ -5,7 +5,7 @@ install:
npm install;
api-start:
bin/console server:start *:3000;
bin/console server:start *:8000;
api-stop:
bin/console server:stop;