mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-24 15:02:31 +00:00
fix: FTP URL fix & docs
This commit is contained in:
parent
aa08397db7
commit
f99d6edd42
@ -107,12 +107,6 @@ export const INSTANCE_ADMIN_URL = (name: string) => {
|
||||
return INSTANCE_URL(name, `_/`)
|
||||
}
|
||||
|
||||
/**
|
||||
* Helpful alias for generating the URL for a specific instance's FTP server
|
||||
* @param {string} email
|
||||
* @example
|
||||
* FTP_URL("user@example.com") // ftp://user%40example.com@ftp.sfo-1.pockethost.io
|
||||
*/
|
||||
export const FTP_URL = (email: string) => {
|
||||
return `ftp://${encodeURIComponent(email)}@ftp.sfo-1.${PUBLIC_APEX_DOMAIN}`
|
||||
return `"${email}"@ftp.sfo-1.${PUBLIC_APEX_DOMAIN}`
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ Inside each instance directory, you will find:
|
||||
### GUI
|
||||
|
||||
- [FileZilla](https://filezilla-project.org/) is a great GUI frontend available for all platforms.
|
||||
- [ftp-simple](https://marketplace.visualstudio.com/items?itemName=humy2833.ftp-simple) is a VSCode plugin
|
||||
|
||||
### CLI
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user