forked from jason/cpolis
Articles and tags are now inserted into DB correctly
This commit is contained in:
@@ -48,7 +48,8 @@ func main() {
|
||||
store := data.NewCookieStore(key)
|
||||
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle("/web/static/", http.StripPrefix("/web/static/", http.FileServer(http.Dir("web/static/"))))
|
||||
mux.Handle("/web/static/", http.StripPrefix("/web/static/",
|
||||
http.FileServer(http.Dir("web/static/"))))
|
||||
mux.HandleFunc("/", ui.HomePage(db, store))
|
||||
|
||||
mux.HandleFunc("GET /create-tag/", ui.CreateTag)
|
||||
|
Reference in New Issue
Block a user