Use proxy-free runtime for built local serving
This commit is contained in:
1 parent
a1517ec949
commit
5544b69d7e
6 files changed
+57
-4
No files matched your search
@@ -3,7 +3,8 @@ set -eu
|
||||
|
||||
# A failed migration must stop startup. Both commands use the same local D1 ID
|
||||
# and storage root. Never reset or replace this directory during updates.
|
||||
state_path=${DUNE_STATE_PATH:-/data}
|
||||
export DUNE_STATE_PATH="${DUNE_STATE_PATH:-/data}"
|
||||
state_path=$DUNE_STATE_PATH
|
||||
# Validate before migration; this is an administrator setting, not a request header.
|
||||
node --input-type=module -e '
|
||||
const value = process.env.DUNE_PUBLIC_ORIGIN;
|
||||
|
||||
Reference in new issue
Block a user