mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-12-01 00:49:46 +00:00
更新 sub-store.js 兼容 node 服务端
This commit is contained in:
1 parent
046b70a561
commit
bcfcd6d91d
3 files changed
+13
-6
No files matched your search
+4
-3
@@ -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