From 7fe303a74f01c0ffb7316fb13205bf653224c18d Mon Sep 17 00:00:00 2001
From: longdayi <13477510+longdayilongdayi@user.noreply.gitee.com>
Date: Wed, 26 Feb 2025 11:16:36 +0800
Subject: [PATCH] 02261013
---
apps/web/src/app/main/paths/page.tsx | 3 ++-
config/nginx/conf.d/web.conf | 2 +-
packages/common/src/enum.ts | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
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 {