Added initial Settings

This commit is contained in:
Pablu23
2024-04-02 19:05:36 +02:00
parent c83a10823d
commit e45109fcd5
8 changed files with 148 additions and 11 deletions

View File

@@ -58,6 +58,7 @@ func (s *Server) Start(port int) error {
http.HandleFunc("POST /exit", s.HandleExit)
http.HandleFunc("POST /delete", s.HandleDelete)
http.HandleFunc("/favicon.ico", s.HandleFavicon)
http.HandleFunc("POST /setting/", s.HandleSetting)
// Update Latest Chapter every 5 Minutes
go func(s *Server) {