Update route.ts

Correct typo error and make warning more specific.
This commit is contained in:
Amor Zara 2023-09-15 11:21:42 +08:00 committed by GitHub
parent e03db9c2d5
commit bd69116df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import { getServerSideConfig } from "../../config/server";
const serverConfig = getServerSideConfig(); const serverConfig = getServerSideConfig();
// Danger! Don not write any secret value here! // Danger! Do not hard code any secret value here!
// 警告!不要在这里写入任何敏感信息! // 警告!不要在这里写入任何敏感信息!
const DANGER_CONFIG = { const DANGER_CONFIG = {
needCode: serverConfig.needCode, needCode: serverConfig.needCode,