From 8da5b91f6b805bfc9f187f81373deba72bb7e288 Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期五, 11 九月 2026 12:01:46 +0800
Subject: [PATCH] 基础更新
---
talent-card-server/src/main/resources/application.yml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/talent-card-server/src/main/resources/application.yml b/talent-card-server/src/main/resources/application.yml
index 9b7d5bc..0b2a8e2 100644
--- a/talent-card-server/src/main/resources/application.yml
+++ b/talent-card-server/src/main/resources/application.yml
@@ -37,6 +37,9 @@
time_zone: Asia/Shanghai
app:
+ cors:
+ # HBuilderX Web development origins; override with exact deployed frontend origins.
+ allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:7893,http://localhost:7894,http://127.0.0.1:7893,http://127.0.0.1:7894}
privacy:
# Production must provide APP_PRIVACY_ENCRYPTION_KEY through the deployment secret store.
encryption-key: ${APP_PRIVACY_ENCRYPTION_KEY:talent-card-local-development-key}
--
Gitblit v1.7.1