kopia lustrzana https://codeberg.org/nmkj/audon
move favicon to assets so that they are properly hashed
rodzic
a55fe1a490
commit
a84d45c25b
|
@ -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>
|
||||||
|
|
Przed Szerokość: | Wysokość: | Rozmiar: 34 KiB Po Szerokość: | Wysokość: | Rozmiar: 34 KiB |
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue