diff --git a/docs/index.md b/docs/index.md index 4de5fd9..35a3267 100644 --- a/docs/index.md +++ b/docs/index.md @@ -44,8 +44,8 @@ Encrypt files and send them to a recipient: import { PostGuard } from '@e4a/pg-js'; const pg = new PostGuard({ - pkgUrl: 'https://pkg.staging.yivi.app', - cryptifyUrl: 'https://fileshare.staging.yivi.app' + pkgUrl: 'https://pkg.staging.postguard.eu', + cryptifyUrl: 'https://storage.staging.postguard.eu' }); const sealed = pg.encrypt({ diff --git a/docs/repos/pg-dotnet.md b/docs/repos/pg-dotnet.md index 3640e46..b30c749 100644 --- a/docs/repos/pg-dotnet.md +++ b/docs/repos/pg-dotnet.md @@ -44,7 +44,7 @@ You can override the default staging URLs: ```bash export PG_PKG_URL="https://pkg.postguard.eu" -export PG_CRYPTIFY_URL="https://fileshare.postguard.eu" +export PG_CRYPTIFY_URL="https://storage.postguard.eu" dotnet run ``` diff --git a/docs/repos/pg-sveltekit.md b/docs/repos/pg-sveltekit.md index 4c5ed55..7fa2f40 100644 --- a/docs/repos/pg-sveltekit.md +++ b/docs/repos/pg-sveltekit.md @@ -39,8 +39,8 @@ Configure the PKG and Cryptify URLs via environment variables. Keep the API key ```sh # Public (available in browser) -PUBLIC_PKG_URL=https://pkg.staging.yivi.app -PUBLIC_CRYPTIFY_URL=https://fileshare.staging.yivi.app +PUBLIC_PKG_URL=https://pkg.staging.postguard.eu +PUBLIC_CRYPTIFY_URL=https://storage.staging.postguard.eu PUBLIC_APP_NAME=PostGuard for Business Example # Server-only @@ -61,8 +61,8 @@ export const PG_API_KEY = env['PG_API_KEY'] ?? ''; import { env } from '$env/dynamic/public'; export const APP_NAME = env.PUBLIC_APP_NAME || 'PostGuard for Business Example'; -export const PKG_URL = env.PUBLIC_PKG_URL || 'https://pkg.staging.yivi.app'; -export const CRYPTIFY_URL = env.PUBLIC_CRYPTIFY_URL || 'https://fileshare.staging.yivi.app'; +export const PKG_URL = env.PUBLIC_PKG_URL || 'https://pkg.staging.postguard.eu'; +export const CRYPTIFY_URL = env.PUBLIC_CRYPTIFY_URL || 'https://storage.staging.postguard.eu'; ``` [Source: config.ts](https://github.com/encryption4all/postguard-examples/blob/3d06342fad2c749ca4d043070d1ad9c831c7bfc1/pg-sveltekit/src/lib/config.ts) diff --git a/docs/repos/postguard-js.md b/docs/repos/postguard-js.md index dab5ac7..fb5c522 100644 --- a/docs/repos/postguard-js.md +++ b/docs/repos/postguard-js.md @@ -26,8 +26,8 @@ These are not needed when using API key signing or custom session callbacks. import { PostGuard } from '@e4a/pg-js'; const pg = new PostGuard({ - pkgUrl: 'https://pkg.staging.yivi.app', - cryptifyUrl: 'https://fileshare.staging.yivi.app', // optional, for file upload flows + pkgUrl: 'https://pkg.staging.postguard.eu', + cryptifyUrl: 'https://storage.staging.postguard.eu', // optional, for file upload flows headers: { 'X-My-Client': 'v1.0' }, // optional }); ``` @@ -83,8 +83,8 @@ The size of each chunk sent to Cryptify is configurable via `uploadChunkSize` on ```ts const pg = new PostGuard({ - pkgUrl: 'https://pkg.staging.yivi.app', - cryptifyUrl: 'https://fileshare.staging.yivi.app', + pkgUrl: 'https://pkg.staging.postguard.eu', + cryptifyUrl: 'https://storage.staging.postguard.eu', uploadChunkSize: 10_000_000, // 10 MB chunks }); ``` diff --git a/docs/sdk/getting-started.md b/docs/sdk/getting-started.md index 4855510..486744b 100644 --- a/docs/sdk/getting-started.md +++ b/docs/sdk/getting-started.md @@ -30,8 +30,8 @@ The SDK bundles all its dependencies internally. You do not need to install `@e4 import { PostGuard } from '@e4a/pg-js'; const pg = new PostGuard({ - pkgUrl: 'https://pkg.staging.yivi.app', - cryptifyUrl: 'https://fileshare.staging.yivi.app', + pkgUrl: 'https://pkg.staging.postguard.eu', + cryptifyUrl: 'https://storage.staging.postguard.eu', }); const sealed = pg.encrypt({ diff --git a/docs/sdk/js-encryption.md b/docs/sdk/js-encryption.md index 20eb044..157369b 100644 --- a/docs/sdk/js-encryption.md +++ b/docs/sdk/js-encryption.md @@ -95,8 +95,8 @@ Pass `retry` on the `PostGuardConfig` to tune how chunk PUTs and downloads handl ```ts const pg = new PostGuard({ - pkgUrl: 'https://pkg.staging.yivi.app', - cryptifyUrl: 'https://fileshare.staging.yivi.app', + pkgUrl: 'https://pkg.staging.postguard.eu', + cryptifyUrl: 'https://storage.staging.postguard.eu', retry: { maxAttempts: 5, chunkTimeoutMs: 60_000,