[add] favicon
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Evan Reichard 2023-11-25 19:21:18 -05:00
parent ca1cce1ff1
commit 3c6f3ae237
4 changed files with 6 additions and 4 deletions

View File

@ -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)

View File

@ -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")
}

BIN
assets/icons/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -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