enh: update sftp link

This commit is contained in:
Ben Allfree 2023-09-30 20:49:47 -07:00
parent 68cb1d3d15
commit 3dbff8ca24
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ PocketHost allows you to access all your PocketBase files via Secure FTP (FTPS).
## Accessing via FTP ## 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. The initial directory listing contains a directory for each instance associated with your account.

View File

@ -12,7 +12,9 @@
if (!email) { if (!email) {
throw new Error(`Email expected here`) 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}`
</script> </script>
<AccordionItem title="FTP Access"> <AccordionItem title="FTP Access">