mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
chore: complete api
This commit is contained in:
@@ -49,10 +49,10 @@ func runHTTPServer(endRun chan bool) {
|
||||
root := filepath.Join(config.WorkDir, "assets")
|
||||
e.Static("/static", root)
|
||||
|
||||
// frontend pages
|
||||
page.RegisterRoutes(e)
|
||||
// static files
|
||||
file.RegisterRoutes(e)
|
||||
// frontend pages
|
||||
page.RegisterRoutes(e)
|
||||
// unauthz api
|
||||
admin.RegisterRoutes(e)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user