Files
eSIM-Tools/env.example

26 lines
690 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# eSIM工具环境配置
# 服务器配置
NODE_ENV=development
PORT=3000
# API配置
GIFFGAFF_API_BASE=https://id.giffgaff.com
GIFFGAFF_PUBLIC_API_BASE=https://publicapi.giffgaff.com
SIMYO_API_BASE=https://appapi.simyo.nl
# 日志配置
LOG_LEVEL=info
# CORS配置
# 通用允许来源(本地 server.js 使用Netlify Functions 使用 ALLOWED_ORIGIN 环境变量
CORS_ORIGIN=*
ALLOWED_ORIGIN=https://esim.cosr.eu.org
# 安全配置
COOKIE_SECRET=your-secret-key-here
# 受保护函数访问密钥(要求调用方在 Header x-esim-key 或 body.authKey / ?authKey 携带匹配值)
ACCESS_KEY=please_change_me
# 可选自定义API超时时间毫秒
API_TIMEOUT=30000