changed terminology
This commit is contained in:
parent
ea81abb718
commit
9208e62f1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue