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:
Johannes Millan 2026-01-24 16:39:02 +01:00
parent 842baf81bf
commit d982b708cc
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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,