yeg
2026-09-11 0929c5d8d6d728e927c2f46c67bff42e37de9cee
跨域更新
2个文件已修改
4 ■■■■■ 已修改文件
talent-card-admin/vite.config.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
talent-card-server/src/main/resources/application.yml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
talent-card-admin/vite.config.ts
@@ -6,7 +6,7 @@
  plugins: [vue()],
  server: {
    host: '0.0.0.0',
    port: 5173,
    port: 5273,
    strictPort: true,
    proxy: {
      '/api': {
talent-card-server/src/main/resources/application.yml
@@ -40,7 +40,7 @@
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,http://192.168.110.26:5173}
    allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:7893,http://localhost:7894,http://127.0.0.1:7893,http://127.0.0.1:7894,http://192.168.110.26:5173,http://192.168.110.15:5273}
  privacy:
    # Production must provide APP_PRIVACY_ENCRYPTION_KEY through the deployment secret store.
    encryption-key: ${APP_PRIVACY_ENCRYPTION_KEY:talent-card-local-development-key}