mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-06 22:31:21 +00:00
fix under which domain the serve:build script runs the frontend
this makes the iframe work in this mode Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
ddae4a1588
commit
6ac60cfa65
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@
|
|||
"start": "cross-env PORT=3001 craco start",
|
||||
"start:test": "cross-env PORT=3001 REACT_APP_TEST_MODE=true craco start",
|
||||
"start:for-real-backend": "cross-env REACT_APP_BACKEND=http://localhost:3000 yarn start",
|
||||
"serve:build": "http-server build/ -s -p 3001 -P \"http://127.0.0.1:3001?\"",
|
||||
"serve:build": "http-server build/ -s -p 3001 -P \"http://localhost:3001?\"",
|
||||
"build:test": "cross-env REACT_APP_TEST_MODE=true craco build",
|
||||
"build:production": "craco build",
|
||||
"analyze": "cross-env ANALYZE=true craco build",
|
||||
|
|
Loading…
Reference in a new issue