changed terminology

This commit is contained in:
bronku 2025-02-01 19:26:45 +01:00
parent ea81abb718
commit 9208e62f1a

View file

@ -21,7 +21,7 @@ type controller struct {
func (c *controller) LoadRouter(pub fs.FS) {
serveMux := http.NewServeMux()
//temporary, change in prod
//temporary, change in dev
//serveMux.Handle("GET /", http.FileServerFS(unwrap(fs.Sub(pub, "public"))))
serveMux.Handle("GET /", http.FileServerFS(pub))
serveMux.HandleFunc("POST /order/new", c.postNewOrder)