diff --git a/api/api.go b/api/api.go index d77e644..2983479 100644 --- a/api/api.go +++ b/api/api.go @@ -92,6 +92,7 @@ func (api *API) registerWebAppRoutes() { // Static Assets (Required @ Root) api.Router.GET("/manifest.json", api.webManifest) + api.Router.GET("/favicon.ico", api.faviconIcon) api.Router.GET("/sw.js", api.serviceWorker) // Local / Offline Static Pages (No Template, No Auth) diff --git a/api/app-routes.go b/api/app-routes.go index 5c90c24..4d9c772 100644 --- a/api/app-routes.go +++ b/api/app-routes.go @@ -79,6 +79,10 @@ func (api *API) serviceWorker(c *gin.Context) { c.File("./assets/sw.js") } +func (api *API) faviconIcon(c *gin.Context) { + c.File("./assets/icons/favicon.ico") +} + func (api *API) localDocuments(c *gin.Context) { c.File("./assets/local/index.html") } diff --git a/assets/icons/favicon.ico b/assets/icons/favicon.ico new file mode 100644 index 0000000..e36eb7b Binary files /dev/null and b/assets/icons/favicon.ico differ diff --git a/notes/README.md b/notes/README.md index 634d4d8..30a3e50 100644 --- a/notes/README.md +++ b/notes/README.md @@ -4,13 +4,10 @@ This folder consists of various notes / files that I want to save and may come b # Ideas / To Do -- Rename! - Google Fonts -> SW Cache and/or Local -- Search Documents - - Title, Author, Description - Change Device Name / Assume Device - Hide Document per User (Another Table?) - Admin User? - Reset Passwords - Actually Delete Documents -- Document & Activity Pagination +- Activity Pagination