Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions client/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ PARSEC_APP_CLEAR_CACHE="true"
PARSEC_APP_TESTBED_AUTO_LOGIN="true"
PARSEC_APP_ACCOUNT_SERVER="parsec3://dev-account.parsec.cloud"
PARSEC_APP_DEFAULT_LIB_LOG_LEVEL="DEBUG"
PARSEC_APP_DEFAULT_CRYPTPAD_SERVER="https://cryptpad-dev.parsec.cloud"
1 change: 1 addition & 0 deletions client/.env.playwright
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ PARSEC_APP_BMS_MOCKED_FUNCTIONS=""
PARSEC_APP_BMS_FAIL_FUNCTIONS=""
PARSEC_APP_CREATE_DEFAULT_WORKSPACES="false"
PARSEC_APP_TESTBED_AUTO_LOGIN="false"
PARSEC_APP_DEFAULT_CRYPTPAD_SERVER="https://cryptpad-dev.parsec.cloud"
1 change: 1 addition & 0 deletions client/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ PARSEC_APP_SIGN_URL=https://sign.parsec.cloud
PARSEC_APP_SAAS_SERVERS="saas-v3.parsec.cloud"
PARSEC_APP_TRIAL_SERVERS="trial.parsec.cloud"
PARSEC_APP_ENABLE_CUSTOM_BRANDING=true
PARSEC_APP_DEFAULT_CRYPTPAD_SERVER="https://cryptpad.parsec.cloud"
1 change: 1 addition & 0 deletions client/.env.release-candidate
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ PARSEC_APP_SAAS_SERVERS="saas-v3.parsec.cloud;saas-demo-v3-mightyfairy.parsec.cl
PARSEC_APP_TRIAL_SERVERS="trial.parsec.cloud"
PARSEC_APP_DEFAULT_LIB_LOG_LEVEL="DEBUG"
PARSEC_APP_ENABLE_CUSTOM_BRANDING=true
PARSEC_APP_DEFAULT_CRYPTPAD_SERVER="https://cryptpad.parsec.cloud"
13 changes: 0 additions & 13 deletions client/electron/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -581,19 +581,6 @@ export function setupContentSecurityPolicy(customScheme: string): void {
CspDirective.WorkerSrc,
],
},
{
domain: 'https://centakina.ddns.net',
directives: [
CspDirective.DefaultSrc,
CspDirective.ScriptSrc,
CspDirective.ConnectSrc,
CspDirective.ImgSrc,
CspDirective.StyleSrc,
CspDirective.FontSrc,
CspDirective.FrameSrc,
CspDirective.WorkerSrc,
],
},
{
domain: 'https://*.stripe.com',
directives: [
Expand Down
2 changes: 1 addition & 1 deletion client/src/services/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async function openTOS(tosLink: string): Promise<void> {

const ENABLE_EDITICS_VARIABLE = 'PARSEC_APP_ENABLE_EDITICS';
const CRYPTPAD_SERVER_VARIABLE = 'PARSEC_APP_DEFAULT_CRYPTPAD_SERVER';
const DEFAULT_CRYPTPAD_SERVER = 'https://centakina.ddns.net';
const DEFAULT_CRYPTPAD_SERVER = 'https://cryptpad-dev.parsec.cloud';

function isEditicsEnabled(): boolean {
return import.meta.env[ENABLE_EDITICS_VARIABLE] === 'true' || (window as any).TESTING_ENABLE_EDITICS === true;
Expand Down
2 changes: 1 addition & 1 deletion client/tests/e2e/helpers/cryptpad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { expect } from '@playwright/test';
import { MsPage } from '@tests/e2e/helpers/types';

// cspell:disable-next-line
export const CRYPTPAD_SERVER = 'centakina.ddns.net';
export const CRYPTPAD_SERVER = 'cryptpad-dev.parsec.cloud';

interface MockCryptpadOptions {
timeout?: boolean;
Expand Down
Loading