Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit 6ac60cf

Browse files
DerMollyPhilip Molares
authored and
Philip Molares
committed
fix under which domain the serve:build script runs the frontend
this makes the iframe work in this mode Signed-off-by: Philip Molares <[email protected]>
1 parent ddae4a1 commit 6ac60cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"start": "cross-env PORT=3001 craco start",
113113
"start:test": "cross-env PORT=3001 REACT_APP_TEST_MODE=true craco start",
114114
"start:for-real-backend": "cross-env REACT_APP_BACKEND=http://localhost:3000 yarn start",
115-
"serve:build": "http-server build/ -s -p 3001 -P \"http://127.0.0.1:3001?\"",
115+
"serve:build": "http-server build/ -s -p 3001 -P \"http://localhost:3001?\"",
116116
"build:test": "cross-env REACT_APP_TEST_MODE=true craco build",
117117
"build:production": "craco build",
118118
"analyze": "cross-env ANALYZE=true craco build",

0 commit comments

Comments
 (0)