Add Upload functionality #8

Merged
tueem merged 5 commits from feat/upload into dev 2026-02-03 07:48:32 +00:00
Showing only changes of commit a87cdf18dc - Show all commits

View File

@@ -23,7 +23,10 @@ func PrepareHTTP() {
func Start() { func Start() {
log.Println("Starting http server on :3000") log.Println("Starting http server on :3000")
http.ListenAndServe(":3000", nil) if err := http.ListenAndServe(":3000", nil); err != nil {
panic(err)
}
} }
func registerAuthorized(path string, f func(w http.ResponseWriter, r *http.Request)) { func registerAuthorized(path string, f func(w http.ResponseWriter, r *http.Request)) {