This commit is contained in:
恍兮惚兮 2024-09-08 23:54:15 +08:00
parent 1d7b20eb6a
commit b5d08950b7
2 changed files with 2 additions and 11 deletions

View File

@ -167,12 +167,3 @@ function tohomeurl() {
var hostname = window.location.hostname;
window.open(window.location.protocol + '//' + hostname.substring(5));
}
function NGROK_TOKEN() {
window.open('https://dashboard.ngrok.com/get-started/your-authtoken', '_blank');
window.open('https://image.lunatranslator.org/zh/sakurallm/ngrok2.png', '_blank');
}
function NGROK_DOMAIN() {
window.open('https://dashboard.ngrok.com/cloud-edge/domains', '_blank');
window.open('https://image.lunatranslator.org/zh/sakurallm/ngrok.png', '_blank');
}

View File

@ -4,7 +4,7 @@
注册[ngrok](https://ngrok.com/),分别获取<a href="javascript:void(0);" onclick="NGROK_TOKEN();">NGROK_TOKEN</a><a href="javascript:void(0);" onclick="NGROK_DOMAIN();">NGROK_DOMAIN</a>,以供后面使用。
注册[ngrok](https://ngrok.com/),分别获取[NGROK_TOKEN](https://dashboard.ngrok.com/get-started/your-authtoken)和[NGROK_DOMAIN](https://dashboard.ngrok.com/cloud-edge/domains),以供后面使用。
也可以不注册**ngrok**,将**NGROK_TOKEN**置为空,则会使用**gradio-tunneling**的随机域名进行内网穿透。