Fix cors for local run
This commit is contained in:
parent
3a18505753
commit
3e58030a43
|
@ -42,7 +42,7 @@
|
||||||
"build": "craco build",
|
"build": "craco build",
|
||||||
"test": "craco test",
|
"test": "craco test",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"start-assets": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/signatures:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets nginx:1.21.1-alpine",
|
"start-assets": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/signatures:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets -v$(pwd)/nginx.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine",
|
||||||
"stop-assets": "docker stop otterscan-assets",
|
"stop-assets": "docker stop otterscan-assets",
|
||||||
"build-docker": "docker build -t otterscan -f Dockerfile .",
|
"build-docker": "docker build -t otterscan -f Dockerfile .",
|
||||||
"start-docker": "docker run --rm -p 5000:80 --name otterscan -d otterscan",
|
"start-docker": "docker run --rm -p 5000:80 --name otterscan -d otterscan",
|
||||||
|
|
Loading…
Reference in New Issue