Add Library Pages
This commit is contained in:
parent
566b9d8667
commit
d6fa1fc97a
5 changed files with 235 additions and 0 deletions
|
@ -71,6 +71,8 @@ func Start(_conf config.Config, tmplFS embed.FS, staticFS embed.FS, migrationsFS
|
|||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/worker", handleWorkerWebsocket)
|
||||
mux.Handle("/static/", fs)
|
||||
mux.HandleFunc("/libraries/{id}", handleLibrary)
|
||||
mux.HandleFunc("/libraries", handleLibraries)
|
||||
mux.HandleFunc("/", handleIndex)
|
||||
|
||||
server := &http.Server{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue