fix: env conf

This commit is contained in:
archer
2023-06-10 23:22:37 +08:00
parent 7957f96d2c
commit 9a831b5b8b
2 changed files with 4 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ import { axiosConfig } from '@/service/utils/tools';
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
try {
if (global.systemEnv.sensitiveCheck) {
if (!global.systemEnv.sensitiveCheck) {
return jsonRes(res);
}