Files
spring_blogs/.env.production

14 lines
676 B
Bash

# Keep the browser on the public site origin. OpenResty forwards /api to Java.
NEXT_PUBLIC_API_BASE_URL=/api
# Internal address used only by the Next.js server on the production host.
SERVER_API_BASE_URL=http://127.0.0.1:8080/api
# --- 自建网易云增强 API(可选,留空 = 关闭,网易云走 gdstudio 原通道)---
# 博客迁到宝塔服务器后启用即可享受会员音质/解灰;本机未部署时请保持注释。
# NCM_API_URL=http://127.0.0.1:3000
# 会员 cookie 存服务器文件(推荐,cookie 不进仓库):
# NCM_API_COOKIE_FILE=/www/wwwroot/ncm-api/.netease_cookie
# 或直接写入环境变量(二选一):
# NCM_API_COOKIE=...