mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
favicon: Redo favicon customization
This commit is contained in:
parent
92e0bff80c
commit
ea8846154f
10 changed files with 64 additions and 13 deletions
|
@ -80,6 +80,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
|||
args.app.get('/favicon.ico', (req, res, next) => {
|
||||
(async () => {
|
||||
const fns = [
|
||||
...(settings.favicon ? [path.resolve(settings.root, settings.favicon)] : []),
|
||||
path.join(settings.root, 'src', 'static', 'skins', settings.skinName, 'favicon.ico'),
|
||||
path.join(settings.root, 'src', 'static', 'favicon.ico'),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue