mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-01-18 14:44:41 +01:00
Change docker user and some minor improvements
This commit is contained in:
@@ -146,7 +146,11 @@ func (f *frontendCLI) watchEvents() {
|
||||
|
||||
func (f *frontendCLI) Loop() error {
|
||||
f.loginWithEnv()
|
||||
http.ListenAndServe(":1080", f)
|
||||
managementPort := os.Getenv("PROTON_MANAGEMENT_PORT")
|
||||
if managementPort == "" {
|
||||
managementPort = "1080"
|
||||
}
|
||||
http.ListenAndServe(":"+managementPort, f)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user