Skip to content

Commit 9ae162a

Browse files
committed
fix: update VITE_SERVER_URL in environment files for consistency
1 parent 726864e commit 9ae162a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

apps/console/.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Development: connect to a local or remote ObjectStack server.
22
# Set VITE_SERVER_URL to your dev server (e.g. http://localhost:3000 or https://demo.objectstack.ai).
33
# Leave empty to use same-origin (when Console is served by the server itself).
4-
VITE_SERVER_URL=http://localhost:3000
4+
VITE_SERVER_URL=https://demo.objectstack.ai
55
VITE_USE_MOCK_SERVER=false

apps/console/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Production: connect to the ObjectStack server.
22
# Set VITE_SERVER_URL to the server origin, or leave empty for same-origin.
3-
VITE_SERVER_URL=
3+
VITE_SERVER_URL=https://demo.objectstack.ai
44
VITE_USE_MOCK_SERVER=false

apps/console/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
- For stricter CSP, serve headers via your web server (see docs/deployment.md) and use
99
nonces or hashes instead of 'unsafe-inline'.
1010
-->
11-
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' ws: wss: http://localhost:* https://*.objectstack.io https://*.sentry.io; worker-src 'self' blob:; frame-src 'self';" />
1211
<link rel="icon" type="image/svg+xml" href="/vite.svg" id="favicon" />
1312
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
1413
<meta name="mobile-web-app-capable" content="yes" />

0 commit comments

Comments
 (0)