Add a favicon

This commit is contained in:
Alexandre Iooss 2020-09-30 15:52:26 +02:00
parent 8883c878bf
commit 9fe544b7bc
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 6 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func loadConfiguration() {
viper.SetDefault("Web.ListenAddress", ":8080")
viper.SetDefault("Web.Name", "Ghostream")
viper.SetDefault("Web.Hostname", "localhost")
viper.SetDefault("Web.Favicon", "/favicon.ico")
viper.SetDefault("Web.Favicon", "/static/img/favicon.svg")
viper.SetDefault("Web.ViewersCounterRefreshPeriod", 20000)
viper.SetDefault("WebRTC.MinPortUDP", 10000)
viper.SetDefault("WebRTC.MaxPortUDP", 10005)

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<path d="m7.342 0.3654v0.00454a6.877 6.877 0 0 0-6.877 6.877 6.877 6.877 0 0 0 6.876 6.875c1.39 0 2.684-0.4154 3.767-1.127h8.57a4.117 4.117 0 0 0 4.115-4.115 4.117 4.117 0 0 0-4.115-4.115h-5.928c-0.9947-2.572-3.485-4.398-6.409-4.398zm24.66 12.68-11.38 3.669v5.689l11.38 2.446zm-24.23 12.23v3.099h1.817l-0.9428 3.15h2.446l0.9473-3.15h3.279l0.9473 3.15h2.446l-0.9473-3.15h1.394v-3.099z" fill="#214378" stroke-width=".9109"/>
<path d="m26.91 12.42h-26.91v13.45h26.91z" fill="#37abc8" stroke-width=".9109"/>
</svg>

After

Width:  |  Height:  |  Size: 629 B