mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
fix(dev): update default SuperSync port to 1901 for local development
- Change default dev URL from port 1900 to 1901 in frontend config - Add WebAuthn environment variables to supersync override for port 1901
This commit is contained in:
parent
842baf81bf
commit
d982b708cc
2 changed files with 12 additions and 1 deletions
|
|
@ -5,3 +5,14 @@ services:
|
|||
supersync:
|
||||
ports: !override
|
||||
- '1901:1900'
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- PORT=1900
|
||||
- TEST_MODE=true
|
||||
- TEST_MODE_CONFIRM=yes-i-understand-the-risks
|
||||
- JWT_SECRET=e2e-test-secret-minimum-32-chars-long-for-security
|
||||
- CORS_ORIGINS=*
|
||||
- DATA_DIR=/data
|
||||
- DATABASE_URL=postgresql://supersync:superpassword@db:5432/supersync_db
|
||||
- WEBAUTHN_ORIGIN=http://localhost:1901
|
||||
- PUBLIC_URL=http://localhost:1901
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ export const DEFAULT_GLOBAL_CONFIG: GlobalConfigState = {
|
|||
superSync: {
|
||||
baseUrl: environment.production
|
||||
? 'https://sync.super-productivity.com'
|
||||
: 'http://localhost:1900',
|
||||
: 'http://localhost:1901',
|
||||
userName: null,
|
||||
password: null,
|
||||
accessToken: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue