mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-10 14:46:20 +02:00
favicon: Only serve from /favicon.ico
This commit is contained in:
parent
c2ac5e6145
commit
d0d4b95980
@ -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…
x
Reference in New Issue
Block a user