Sync managed gateway routes on startup and fix layout initialization
This commit is contained in:
1 parent
5ef1cb48cf
commit
0528bc4b9a
7 files changed
+40
-6
No files matched your search
@@ -79,6 +79,9 @@ func RefreshAuth(domain string, routes gin.RoutesInfo, authPort int) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if string(previous) == httpSite+httpsSite {
|
||||
return nil
|
||||
}
|
||||
if err := writeSite(httpSite + httpsSite); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user