added AI generated favicon
This commit is contained in:
4
main.go
4
main.go
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user