mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
【新增】私有证书
This commit is contained in:
35
frontend/apps/node-spa-preview/.env.example
Normal file
35
frontend/apps/node-spa-preview/.env.example
Normal file
@@ -0,0 +1,35 @@
|
||||
# SPA Preview Server Configuration Template
|
||||
# 复制此文件为 .env 并根据需要修改配置
|
||||
|
||||
# 服务器配置
|
||||
# Server configuration
|
||||
PORT=5173
|
||||
HOST=0.0.0.0
|
||||
|
||||
# API 代理配置
|
||||
# API proxy configuration
|
||||
API_TARGET=http://localhost:3000
|
||||
API_PREFIX=/api
|
||||
# API 代理模式: 'prefix'(路径替换) 或 'include'(路径包含)
|
||||
# API proxy mode: 'prefix' (path replacement) or 'include' (path inclusion)
|
||||
API_PROXY_MODE=prefix
|
||||
|
||||
# 静态文件配置
|
||||
# Static files configuration
|
||||
PUBLIC_DIR=public
|
||||
FALLBACK_FILE=index.html
|
||||
|
||||
# 开发模式配置
|
||||
# Development mode configuration
|
||||
DEV_MODE=true
|
||||
LOG_LEVEL=info
|
||||
|
||||
# CORS 配置
|
||||
# CORS configuration
|
||||
CORS_ENABLED=true
|
||||
CORS_ORIGIN=*
|
||||
|
||||
# SPA 路由配置
|
||||
# SPA routing configuration
|
||||
SPA_FALLBACK_ENABLED=true
|
||||
SPA_EXCLUDE_EXTENSIONS=.js,.css,.png,.jpg,.jpeg,.gif,.svg,.ico,.woff,.woff2,.ttf,.eot
|
||||
Reference in New Issue
Block a user