Procházet zdrojové kódy

init all proc

master
Patrick Peng Sun před 8 roky
rodič
revize
60a3b6612b
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      main.go

+ 2
- 1
main.go Zobrazit soubor

@@ -37,6 +37,7 @@ func main() {
log.Fatal("unable to read crm_config.json, program quit")
}

initAllProc()
setupRootFileServer()
startSessionManager(2048)
KFUsers.kfRenewList()
@@ -127,5 +128,5 @@ func initialRegistrationHandler(w http.ResponseWriter, r *http.Request) {
http.SetCookie(w, &cookie)
cookie = http.Cookie{Name: "signature", Value: "abcee", Expires: expiration}
http.SetCookie(w, &cookie)
http.Redirect(w, r, "http://192.168.1.39:4200/#pages/charts/chartist-js", 302)
http.Redirect(w, r, "http://192.168.1.39:4200/#pages/charts/chartist-js", 307) //302 temp redirect
}

Načítá se…
Zrušit
Uložit