修正助手配合HTTPS无法启动监听的问题,重新颁发了助手使用的127.0.0.1 IP证书,修正助手安装包打包脚本的编码。

pull/173/head
Apex Liu 2019-01-26 05:05:16 +08:00
parent 1305c11ccc
commit 1ec165f0a2
6 changed files with 7 additions and 6 deletions

View File

@ -155,6 +155,7 @@ def do_opt(opt):
# cmd = '"%s" -B "%s" %s' % (utils.cfg.py_exec, os.path.join(BUILDER_PATH, script), arg)
cmd = '%s -B %s %s' % (env.py_exec, os.path.join(env.builder_path, script), arg)
print(cmd)
os.system(cmd)

View File

@ -96,7 +96,7 @@ INT_PTR CALLBACK eomDlgMainProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARA
case IDM_OPEN_CONFIG:
{
ShellExecute(nullptr, _T("open"), _T("http://localhost:50022/config"), nullptr, nullptr, SW_SHOW);
ShellExecute(nullptr, _T("open"), _T("http://127.0.0.1:50022/config"), nullptr, nullptr, SW_SHOW);
return TRUE;
}break;

View File

@ -129,7 +129,7 @@ void http_rpc_main_loop(bool is_https) {
}
EXLOGW("======================================================\n");
EXLOGW("[rpc] TeleportAssist-HTTPS-RPC ready on localhost:%d\n", TS_HTTPS_RPC_PORT);
EXLOGW("[rpc] TeleportAssist-HTTPS-RPC ready on 127.0.0.1:%d\n", TS_HTTPS_RPC_PORT);
g_https_interface.run();
@ -141,7 +141,7 @@ void http_rpc_main_loop(bool is_https) {
}
EXLOGW("======================================================\n");
EXLOGW("[rpc] TeleportAssist-HTTP-RPC ready on localhost:%d\n", TS_HTTP_RPC_PORT);
EXLOGW("[rpc] TeleportAssist-HTTP-RPC ready on 127.0.0.1:%d\n", TS_HTTP_RPC_PORT);
g_http_interface.run();

View File

@ -17,14 +17,14 @@
//=================================================================
使
localhost:50022http
127.0.0.1:50022http
GET
http://localhost:50022/method/json_param
http://127.0.0.1:50022/method/json_param
json_param使url_encodejson
POST
http://localhost:50022/method
http://127.0.0.1:50022/method
postjson_param
URI

Binary file not shown.

Binary file not shown.