mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Move back to actual real ICOs for favicon
This commit is contained in:
2
app.js
2
app.js
@@ -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
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 |
@@ -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.")
|
||||
|
||||
@@ -35,7 +35,7 @@ let plugins = [
|
||||
to: vsPath,
|
||||
},
|
||||
{
|
||||
from: path.join(staticPath, "favicon.png"),
|
||||
from: path.join(staticPath, "favicon.ico"),
|
||||
to: distPath,
|
||||
},
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user