move favicon to assets so that they are properly hashed

peertube
Namekuji 2022-12-18 20:48:45 -05:00
rodzic a55fe1a490
commit a84d45c25b
3 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/src/assets/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Audon</title> <title>Audon</title>
</head> </head>

Wyświetl plik

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 34 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 34 KiB

Wyświetl plik

@ -150,7 +150,6 @@ func main() {
api.PUT("/room/:room/:user", updatePermissionHandler) api.PUT("/room/:room/:user", updatePermissionHandler)
e.Static("/assets", "audon-fe/dist/assets") e.Static("/assets", "audon-fe/dist/assets")
e.File("/favicon.ico", "audon-fe/dist/favicon.ico")
e.File("/*", "audon-fe/dist/index.html") e.File("/*", "audon-fe/dist/index.html")
// use anonymous func to support graceful shutdown // use anonymous func to support graceful shutdown