Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion docs/repos/pg-dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
8 changes: 4 additions & 4 deletions docs/repos/pg-sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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';
```

<small>[Source: config.ts](https://github.com/encryption4all/postguard-examples/blob/3d06342fad2c749ca4d043070d1ad9c831c7bfc1/pg-sveltekit/src/lib/config.ts)</small>
Expand Down
8 changes: 4 additions & 4 deletions docs/repos/postguard-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
```
Expand Down Expand Up @@ -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
});
```
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/js-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading