Remove kanban links from main.go, delete tables.go
This commit removes unnecessary endpoints from the HTTP server and deletes the tables.go file, consolidating the relevant code under main.go. The kanban and update-task-status handlers are no longer needed, as well as the createTableDB function. No major consequences or considerations arise from these changes.
This commit is contained in:
parent
a311be9630
commit
808f3f3772
2 changed files with 0 additions and 117 deletions
3
main.go
3
main.go
|
@ -97,7 +97,6 @@ func main() {
|
|||
|
||||
createUserTable()
|
||||
createFilesTable()
|
||||
createTableDB()
|
||||
|
||||
createUser(adminUsername, adminPassword, adminName, adminEmail)
|
||||
log.Println("Done with database checks, starting webserver!")
|
||||
|
@ -123,8 +122,6 @@ func initHTTPServer() {
|
|||
http.HandleFunc("/delete", DeleteFiles)
|
||||
http.HandleFunc("/export", exportFiles)
|
||||
http.HandleFunc("/checkusername", handleUsernameCheck)
|
||||
http.HandleFunc("/kanban", kanban)
|
||||
http.HandleFunc("/update-task-status", updateTaskStatus)
|
||||
|
||||
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue