新增权限域名限制和链接背景上传
This commit is contained in:
@@ -126,7 +126,6 @@ app.use('*', async (c, next) => {
|
||||
const userPaths = permKeyToPaths(permKeys);
|
||||
|
||||
const userPermIndex = userPaths.findIndex(item => {
|
||||
console.log(item)
|
||||
return path.startsWith(item);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user