mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
front/general: add favicon
This commit is contained in:
@ -95,8 +95,13 @@ function bundleConfig(config) {
|
||||
'./static/js/.config.autogen.json', JSON.stringify(config));
|
||||
}
|
||||
|
||||
function copyFile(source, target) {
|
||||
fs.createReadStream(source).pipe(fs.createWriteStream(target));
|
||||
}
|
||||
|
||||
const config = getConfig();
|
||||
bundleConfig(config);
|
||||
bundleHtml(config);
|
||||
bundleCss();
|
||||
bundleJs();
|
||||
copyFile('static/favicon.png', 'public/favicon.png');
|
||||
|
Reference in New Issue
Block a user