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
+1
-1
@@ -11,7 +11,7 @@ for (const db of config.d1_databases) {
|
||||
throw new Error(`Migration/runtime database identity mismatch for ${db.binding}`);
|
||||
}
|
||||
}
|
||||
const state = resolve(process.env.DUNE_STATE_PATH || '/data');
|
||||
const state = resolve(process.env.DUNE_STATE_PATH || '.wrangler/state');
|
||||
const port = Number(process.env.DUNE_PORT || 3000);
|
||||
if (!Number.isInteger(port) || port < 1 || port > 65535) throw new Error('Invalid DUNE_PORT');
|
||||
async function modulesIn(directory) {
|
||||
|
||||
Reference in new issue
Block a user