u
This commit is contained in:
@@ -10,7 +10,7 @@ import { parseVfsRef, vfsFileErrorStatus } from './vfs.js';
|
||||
// VFS paths that are owned by their own literal route in `vfs.js`. They are registered as
|
||||
// separate Express handlers, so this wildcard must defer to them instead of treating e.g.
|
||||
// `/vfs/upload` as an applet path. Deferring keeps the two files order-independent.
|
||||
const RESERVED_VFS_SEGMENTS = new Set(['upload', 'mkdir', 'rename']);
|
||||
const RESERVED_VFS_SEGMENTS = new Set(['upload', 'mkdir', 'rename', 'drafts', 'skills', 'applets']);
|
||||
|
||||
function requireSelectedCompany(req) {
|
||||
const companyId = req.user?.selectedCompanyId;
|
||||
|
||||
Reference in New Issue
Block a user