mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 20:14:40 +03:00
make http(s) path for serving the account and admin pages configurable
so you can use the host (domain) name of the mail server for serving other resources too. the default is is still that account is served on /, and so takes all incoming requests before giving webhandlers a chance. mox localserve now serves the account pages on /account/
This commit is contained in:
@ -52,7 +52,7 @@ func init() {
|
||||
}
|
||||
|
||||
// Account exports web API functions for the account web interface. All its
|
||||
// methods are exported under /api/. Function calls require valid HTTP
|
||||
// methods are exported under api/. Function calls require valid HTTP
|
||||
// Authentication credentials of a user.
|
||||
type Account struct{}
|
||||
|
||||
|
Reference in New Issue
Block a user