-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed as not planned
Description
Describe the bug
Current documentation suggests the following ORIGIN value.
# or e.g. for local previewing and testing
ORIGIN=http://localhost:3000 node buildHowever, running node build logs the following message:
node build
# Listening on 0.0.0.0:3000When previewing the app from 0.0.0.0:3000, CSRF protection is triggered (as expected).
The following message is technically correct,
Listening on 0.0.0.0:3000
but the users should be guided to open the app in http://localhost:5173.
Reproduction
Reference above.
Logs
No response
System Info
System:
OS: macOS 14.4
CPU: (10) arm64 Apple M1 Pro
Memory: 76.95 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.1 - ~/.volta/tools/image/node/20.11.1/bin/node
npm: 10.2.4 - ~/.volta/tools/image/node/20.11.1/bin/npm
pnpm: 8.15.4 - ~/.volta/bin/pnpm
Browsers:
Chrome: 122.0.6261.112
Edge: 122.0.2365.80
Safari: 17.4
npmPackages:
@sveltejs/adapter-node: ^5.0.1 => 5.0.1
@sveltejs/kit: ^2.5.1 => 2.5.3
@sveltejs/vite-plugin-svelte: ^3.0.2 => 3.0.2
svelte: ^4.2.11 => 4.2.12
vite: ^5.1.4 => 5.1.5Severity
annoyance
Additional Information
The 0.0.0.0:3000 part is clickable, but does not open the browser window (tab) in the VS Code console.
Metadata
Metadata
Assignees
Labels
No labels