mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
更新 sub-store.js 兼容 node 服务端
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const DEBUG = process.env.NODE_ENV === "development";
|
||||
// export const BACKEND_BASE = DEBUG ? `http://localhost:3000` : `https://sub.store`;
|
||||
export const BACKEND_BASE = DEBUG ? `https://sub.store:9999` : `https://sub.store`;
|
||||
const DEBUG = process.env.NODE_ENV === 'development';
|
||||
const domain = process.env.DOMIAN || 'https://sub.store';
|
||||
export const BACKEND_BASE = DEBUG ? `http://localhost:3000` : domain;
|
||||
// export const BACKEND_BASE = DEBUG ? `https://sub.store:9999` : `https://sub.store`;
|
||||
|
||||
Reference in New Issue
Block a user