Explorar el Código

init all proc

master
Patrick Peng Sun hace 8 años
padre
commit
60a3b6612b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      main.go

+ 2
- 1
main.go Ver fichero

log.Fatal("unable to read crm_config.json, program quit") log.Fatal("unable to read crm_config.json, program quit")
} }


initAllProc()
setupRootFileServer() setupRootFileServer()
startSessionManager(2048) startSessionManager(2048)
KFUsers.kfRenewList() KFUsers.kfRenewList()
http.SetCookie(w, &cookie) http.SetCookie(w, &cookie)
cookie = http.Cookie{Name: "signature", Value: "abcee", Expires: expiration} cookie = http.Cookie{Name: "signature", Value: "abcee", Expires: expiration}
http.SetCookie(w, &cookie) 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
} }

Cargando…
Cancelar
Guardar