Skip to content

Commit 6ad09dd

Browse files
author
Aleksandr Penskoi
committed
Fix CORS problem by nginx configuration.
1 parent fa4937d commit 6ad09dd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

buildFrontendStage2.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,18 @@ cd $SEABUG/nft-marketplace
2020
rm -f .env
2121
cat <<EOT >> .env
2222
SKIP_PREFLIGHT_CHECK=true
23-
NODE_PATH=./src\
23+
NODE_PATH=./src
2424
25-
REACT_APP_API_BASE_URL=http://api.localho.st:8080
25+
REACT_APP_API_BASE_URL=http://nft-mp-svr.localho.st:8080
2626
27-
REACT_APP_CTL_SERVER_HOST=localho.st
28-
REACT_APP_CTL_SERVER_PORT=8081
27+
REACT_APP_CTL_SERVER_HOST=ctl.localho.st
28+
REACT_APP_CTL_SERVER_PORT=8080
2929
REACT_APP_CTL_SERVER_SECURE_CONN=false
30+
3031
REACT_APP_CTL_OGMIOS_HOST=localho.st
3132
REACT_APP_CTL_OGMIOS_PORT=1337
3233
REACT_APP_CTL_OGMIOS_SECURE_CONN=false
34+
3335
REACT_APP_CTL_DATUM_CACHE_HOST=localho.st
3436
REACT_APP_CTL_DATUM_CACHE_PORT=9999
3537
REACT_APP_CTL_DATUM_CACHE_SECURE_CONN=false

0 commit comments

Comments
 (0)