sessions: additional express session check points

This commit is contained in:
John McLear 2021-03-05 07:57:32 +00:00
parent 2d3f51fe89
commit 4daa0fe030

View file

@ -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/',