Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacitor build script fixes #2516

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
upd: set default CAPACITOR_SERVER_URL
Set CAPACITOR_SERVER_URL to the default address the dev server runs at (localhost:3000), and guide users to change in .env.development.local if necessary.

This enables usage of the dev server directly after cloning without any config.
Faiz Mustafa committed Nov 1, 2024
commit 5e0ccd8182d4e3995336c7f417332f12d11c441e
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ VITE_WEBSOCKET_HOST=localhost
VITE_WEBSOCKET_PORT=3001

# CAPACITOR
# Local IP addresses should only be defined in .env.development.local so that they are not checked into version control.
CAPACITOR_SERVER_URL=
# This is the default address the vite dev server runs at – change in .env.development.local if necessary.
CAPACITOR_SERVER_URL=http://localhost:3000

# AI SERVER
VITE_AI_URL=http://localhost:3001/ai