mirror of
https://github.com/genxium/DelayNoMore
synced 2025-10-09 16:46:38 +00:00
Initial commit.
This commit is contained in:
37
frontend/assets/plugin_scripts/conf.js.template
Normal file
37
frontend/assets/plugin_scripts/conf.js.template
Normal file
@@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
|
||||
if (CC_DEBUG) {
|
||||
var backendAddress = {
|
||||
PROTOCOL: 'http',
|
||||
HOST: 'localhost',
|
||||
PORT: "9992",
|
||||
WS_PATH_PREFIX: "/tsrht",
|
||||
};
|
||||
|
||||
var wechatAddress = {
|
||||
PROTOCOL: "http",
|
||||
HOST: "119.29.236.44",
|
||||
PORT: "8089",
|
||||
PROXY: "",
|
||||
APPID_LITERAL: "appid=wx5432dc1d6164d4e",
|
||||
};
|
||||
} else {
|
||||
var backendAddress = {
|
||||
PROTOCOL: 'https',
|
||||
HOST: 'tsrht.lokcol.com',
|
||||
PORT: "443",
|
||||
WS_PATH_PREFIX: "/tsrht",
|
||||
};
|
||||
|
||||
var wechatAddress = {
|
||||
PROTOCOL: "https",
|
||||
HOST: "open.weixin.qq.com",
|
||||
PORT: "",
|
||||
PROXY: "",
|
||||
APPID_LITERAL: "appid=wxe7063ab415266544",
|
||||
};
|
||||
}
|
||||
|
||||
window.language = "zh";
|
||||
window.backendAddress = backendAddress;
|
||||
window.wechatAddress = wechatAddress;
|
Reference in New Issue
Block a user