Move back to actual real ICOs for favicon

This commit is contained in:
Matt Godbolt
2018-02-23 09:51:18 -06:00
parent 1050da5d55
commit 284897ec2b
5 changed files with 3 additions and 3 deletions

2
app.js
View File

@@ -651,7 +651,7 @@ Promise.all([findCompilers(), aws.initConfig(awsProps)])
res.set('Content-Type', 'application/xml');
res.render('sitemap');
})
.use(sFavicon(path.join(staticDir, webpackConfig.output.publicPath, 'favicon.png')));
.use(sFavicon(path.join(staticDir, webpackConfig.output.publicPath, 'favicon.ico')));
webServer
.use(bodyParser.json({limit: ceProps('bodyParserLimit', maxUploadSize)}))

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,5 +1,5 @@
title Compiler Explorer
link(rel="icon" href="favicon.png")
link(rel="icon" href="favicon.ico?v=1")
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible" content="IE=edge")
meta(name="description" content="Compiler Explorer is an interactive online compiler which shows the assembly output of compiled C, C++, Rust, Go, D, Haskell, Swift & Pascal code.")

View File

@@ -35,7 +35,7 @@ let plugins = [
to: vsPath,
},
{
from: path.join(staticPath, "favicon.png"),
from: path.join(staticPath, "favicon.ico"),
to: distPath,
},
]),