mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
docs
This commit is contained in:
parent
1d7b20eb6a
commit
b5d08950b7
11
docs/main.js
11
docs/main.js
@ -166,13 +166,4 @@ window.onpopstate = function (event) {
|
||||
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');
|
||||
}
|
||||
}
|
@ -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**的随机域名进行内网穿透。
|
||||
|
Loading…
x
Reference in New Issue
Block a user