mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
sessions: additional express session check points
This commit is contained in:
parent
2d3f51fe89
commit
4daa0fe030
1 changed files with 5 additions and 0 deletions
|
@ -3,13 +3,18 @@
|
|||
const assert = require('assert').strict;
|
||||
const common = require('../../common');
|
||||
const settings = require('../../../../node/utils/Settings');
|
||||
const staticPathsRE = require('../../../../node/hooks/express/webaccess').staticPathsRE;
|
||||
const fs = require('fs');
|
||||
let agent;
|
||||
|
||||
const shouldCreateExpressSession = [
|
||||
'/p/foo',
|
||||
'/p/foo/export/html',
|
||||
'/socket.io',
|
||||
'/ep_example',
|
||||
'/admin',
|
||||
];
|
||||
|
||||
const shouldNotCreateExpressSession = [
|
||||
'/',
|
||||
'/api/',
|
||||
|
|
Loading…
Reference in a new issue