forked from jason/cpolis
Only provide link in item instead of the entire article via content
This commit is contained in:
@@ -49,6 +49,7 @@ func main() {
|
||||
http.FileServer(http.Dir(config.WebDir+"/static/"))))
|
||||
mux.HandleFunc("/", f.HomePage(config, db, store))
|
||||
|
||||
mux.HandleFunc("GET /article/serve/{id}", c.ServeArticle(config, db))
|
||||
mux.HandleFunc("GET /create-tag", f.CreateTag(config, store))
|
||||
mux.HandleFunc("GET /create-user", f.CreateUser(config, store))
|
||||
mux.HandleFunc("GET /delete-article/{id}", f.DeleteArticle(config, db, store))
|
||||
|
Reference in New Issue
Block a user