mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
webaccess: Use a non-capturing regex group
This commit is contained in:
parent
a05e8198c9
commit
4587c0fb4d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const readOnlyManager = require('../../db/ReadOnlyManager');
|
|||
|
||||
hooks.deprecationNotices.authFailure = 'use the authnFailure and authzFailure hooks instead';
|
||||
|
||||
const staticPathsRE = new RegExp('^/(' + [
|
||||
const staticPathsRE = new RegExp('^/(?:' + [
|
||||
'api/.*',
|
||||
'favicon\\.ico',
|
||||
'javascripts/.*',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue