This commit is contained in:
parent
ca1cce1ff1
commit
3c6f3ae237
@ -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)
|
||||
|
@ -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
BIN
assets/icons/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user