Sync managed gateway routes on startup and fix layout initialization

This commit is contained in:
opsx committed 2026-10-22 10:49:32 +08:00
1 parent 5ef1cb48cf
commit 0528bc4b9a
7 files changed
+40 -6

No files matched your search

+3
View File
@@ -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
}