Fix admin authorization and harden chat requests
This commit is contained in:
@@ -7,4 +7,8 @@ import { defineConfig } from "eslint/config";
|
||||
|
||||
export default defineConfig([
|
||||
{ files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: {...globals.browser, ...globals.node} } },
|
||||
{
|
||||
files: ["public/js/script.js", "public/js/composerController.js", "public/js/conversationController.js", "public/js/messageRenderer.js", "public/js/personaController.js"],
|
||||
rules: {"no-shadow": "error"}
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user