Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .env.standalone
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Standalone build: no backend services configured.
#
# Used for any deploy where this app is served as plain static files and cannot
# reach our signaling server — an itch.io upload, a subpath host, a fork without
# a server of its own. Build with:
#
# npx vite build --mode standalone --base=./
#
# Multiplayer is gated on this being falsy (`main.ts`'s
# MULTIPLAYER_SERVER_CONFIGURED); `updateMultiplayerTabEnabled` then hides the
# tab entirely, so the build never advertises a mode it cannot connect.
#
# This file states intent in one greppable place. It is not a guarantee — Vite's precedence means a .env.standalone.local silently overrides it (measured: the Multiplayer tab came back). Only checking the built artifact holds.
VITE_MULTIPLAYER_SERVER_URL=