diff --git a/gitbook/usage/ftp.md b/gitbook/usage/ftp.md index 6a8db272..56251c59 100644 --- a/gitbook/usage/ftp.md +++ b/gitbook/usage/ftp.md @@ -4,7 +4,7 @@ PocketHost allows you to access all your PocketBase files via Secure FTP (FTPS). ## Accessing via FTP -FTP to [ftp://pockethost.io](ftp://pockethost.io) and log in using your pockethost.io username and password. +FTP to [ftp://pockethost.io](ftp://ftp.sfo-1.pockethost.io) and log in using your pockethost.io username and password. The initial directory listing contains a directory for each instance associated with your account. diff --git a/packages/pockethost.io/src/routes/app/instances/[instanceId]/Ftpx.svelte b/packages/pockethost.io/src/routes/app/instances/[instanceId]/Ftpx.svelte index 23fa0dcd..ba6833ab 100644 --- a/packages/pockethost.io/src/routes/app/instances/[instanceId]/Ftpx.svelte +++ b/packages/pockethost.io/src/routes/app/instances/[instanceId]/Ftpx.svelte @@ -12,7 +12,9 @@ if (!email) { throw new Error(`Email expected here`) } - const ftpUrl = `ftp://${encodeURIComponent(email)}@${PUBLIC_APP_DOMAIN}` + const ftpUrl = `ftp://${encodeURIComponent( + email, + )}@ftp.sfo-1.${PUBLIC_APP_DOMAIN}`