Mounting handler for adding project

This commit is contained in:
Imbus 2024-03-13 17:52:37 +01:00
parent 3a7663124d
commit 1c87380db7

View file

@ -71,6 +71,7 @@ func main() {
server.Post("/api/loginrenew", gs.LoginRenew)
server.Delete("/api/userdelete", gs.UserDelete) // Perhaps just use POST to avoid headaches
server.Post("/api/project", gs.CreateProject)
// Announce the port we are listening on and start the server
err = server.Listen(fmt.Sprintf(":%d", conf.Port))