diff --git a/apps/web/src/app/main/paths/page.tsx b/apps/web/src/app/main/paths/page.tsx index e1283a0..9624011 100755 --- a/apps/web/src/app/main/paths/page.tsx +++ b/apps/web/src/app/main/paths/page.tsx @@ -1,5 +1,6 @@ import MindEditor from "@web/src/components/common/editor/MindEditor"; export default function PathsPage() { - return ; + // return ; + return <>123 } diff --git a/config/nginx/conf.d/web.conf b/config/nginx/conf.d/web.conf index 67302b8..e0ac769 100755 --- a/config/nginx/conf.d/web.conf +++ b/config/nginx/conf.d/web.conf @@ -100,7 +100,7 @@ server { # 仅供内部使用 internal; # 代理到认证服务 - proxy_pass http://host.docker.internal:3000/auth/file; + proxy_pass http://host.docker.internal:/auth/file; # 请求优化:不传递请求体 proxy_pass_request_body off; diff --git a/packages/common/src/enum.ts b/packages/common/src/enum.ts index 6264c9b..1bcd87c 100755 --- a/packages/common/src/enum.ts +++ b/packages/common/src/enum.ts @@ -8,6 +8,7 @@ export enum PostType { COURSE = "couse", SECTION = "section", LECTURE = "lecture", + PATH = "path", } export enum LectureType { VIDEO = "video", @@ -100,7 +101,7 @@ export enum RolePerms { } export enum AppConfigSlug { BASE_SETTING = "base_setting", - + } // 资源类型的枚举,定义了不同类型的资源,以字符串值表示 export enum ResourceType {