Fallback when no proper data type is found, Teto favicon
This commit is contained in:
parent
aea31f2ea1
commit
65dde5eb7f
3 changed files with 4 additions and 0 deletions
|
@ -507,6 +507,8 @@ module.exports = {
|
|||
data = new cssMinifier().minify(data).styles
|
||||
} else if (filePath.includes(".js")) {
|
||||
data = javascriptCache[filePath]
|
||||
} else {
|
||||
data = fs.readFileSync(filePath)
|
||||
}
|
||||
|
||||
res.send(data)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 15 KiB |
|
@ -19,6 +19,8 @@
|
|||
|
||||
<title>Violet's Purgatory</title>
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
|
||||
<meta name="darkreader-lock">
|
||||
|
||||
<meta content="Violet's Purgatory" property="og:title" />
|
||||
|
|
Loading…
Reference in a new issue