From d982b708ccf10b43ef5c0f2eb5be5fa4f4369cae Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Sat, 24 Jan 2026 16:39:02 +0100 Subject: [PATCH] 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 --- docker-compose.supersync.yaml | 11 +++++++++++ .../features/config/default-global-config.const.ts | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docker-compose.supersync.yaml b/docker-compose.supersync.yaml index 139f16ad9d..e8284aa417 100644 --- a/docker-compose.supersync.yaml +++ b/docker-compose.supersync.yaml @@ -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 diff --git a/src/app/features/config/default-global-config.const.ts b/src/app/features/config/default-global-config.const.ts index e5c6742aa7..d3bfbabf95 100644 --- a/src/app/features/config/default-global-config.const.ts +++ b/src/app/features/config/default-global-config.const.ts @@ -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,