mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-27 04:05:44 +00:00
feature: Customizable external rest address
This commit is contained in:
@@ -8,9 +8,10 @@ import (
|
||||
// for both of them.
|
||||
func StartServers(cfg *config.Config) {
|
||||
go startWebUIServer(cfg)
|
||||
go startRestAPIServer(cfg)
|
||||
|
||||
if cfg.UseSingleHTTPFrontend {
|
||||
StartSingleHTTPFrontend(cfg)
|
||||
go StartSingleHTTPFrontend(cfg)
|
||||
}
|
||||
|
||||
startRestAPIServer(cfg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user