mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
favicon: Only serve from /favicon.ico
This commit is contained in:
parent
c2ac5e6145
commit
d0d4b95980
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
|||
}));
|
||||
});
|
||||
|
||||
// serve favicon.ico from all path levels except as a pad name
|
||||
args.app.get(/\/favicon.ico$/, (req, res) => {
|
||||
args.app.get('/favicon.ico', (req, res) => {
|
||||
let filePath = path.join(
|
||||
settings.root,
|
||||
'src',
|
||||
|
|
Loading…
Reference in a new issue