added AI generated favicon

This commit is contained in:
Maximilian Wagner
2025-12-27 19:45:11 +01:00
parent 9420221400
commit bc77d8b938
3 changed files with 5 additions and 0 deletions

View File

@@ -43,9 +43,13 @@ func main() {
http.HandleFunc("/sse", frontend.SSEventHandler)
http.HandleFunc("/pdf", frontend.PDFHandler)
http.HandleFunc("/compile", frontend.PDFCompile)
jscss, _ := fs.Sub(frontend.WebFiles, "jscss")
http.Handle("/jscss/", http.StripPrefix("/jscss/", http.FileServer(http.FS(jscss))))
favicon, _ := fs.Sub(frontend.WebFiles, "media")
http.Handle("/favicon.ico", http.FileServer(http.FS(favicon)))
// rocket
go server.ListenAndServe()
if globals.AppConfig.WebserverSecure {