HERE WE G- *camera breaks against face*

git-svn-id: file:///srv/svn/repo/marisa/trunk@70 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
shinyoukai
2025-12-07 01:10:41 +00:00
parent 65ffd37fbe
commit 6cd6e9d610
11 changed files with 98 additions and 65 deletions

View File

@@ -123,6 +123,14 @@ func main() {
syscall.Setgid(gid)
}
if err := os.MkdirAll(conf.filepath, 0755); err != nil {
log.Fatal(err)
}
if err := os.MkdirAll(conf.metapath, 0755); err != nil {
log.Fatal(err)
}
http.HandleFunc("/", uploader)
http.Handle(conf.filectx, http.StripPrefix(conf.filectx, http.FileServer(http.Dir(conf.filepath))))