This commit is contained in:
2023-05-13 02:33:11 +08:00
parent a2e2853c3f
commit 9087860b86
6 changed files with 68 additions and 30 deletions

View File

@@ -97,6 +97,7 @@ func main() {
r.HandleFunc("/api/servers/{id}", routers.ServersItemDelete).Methods("DELETE")
r.HandleFunc("/api/params/model", routers.ParamsModelsGet).Methods("GET")
r.HandleFunc("/api/account", routers.AccountGet).Methods("GET")
log.Println("Web Server is running on http://localhost:8080")
http.ListenAndServe(":8080", r)