Desktop: fix bugs when changing numbers in configuration
This commit is contained in:
parent
7b5c9cad60
commit
808bef11db
8 changed files with 21 additions and 19 deletions
2
crates/librqbit/webui/dist/assets/index.js
vendored
2
crates/librqbit/webui/dist/assets/index.js
vendored
File diff suppressed because one or more lines are too long
2
crates/librqbit/webui/dist/manifest.json
vendored
2
crates/librqbit/webui/dist/manifest.json
vendored
|
|
@ -4,7 +4,7 @@
|
|||
"src": "assets/logo.svg"
|
||||
},
|
||||
"index.html": {
|
||||
"file": "assets/index-8d982016.js",
|
||||
"file": "assets/index-b673c0d1.js",
|
||||
"isEntry": true,
|
||||
"src": "index.html"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,12 +67,12 @@ async fn forward_port(
|
|||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<s:Body>
|
||||
<u:AddPortMapping xmlns:u="{}">
|
||||
<u:AddPortMapping xmlns:u="{SERVICE_TYPE_WAN_IP_CONNECTION}">
|
||||
<NewRemoteHost></NewRemoteHost>
|
||||
<NewExternalPort>{}</NewExternalPort>
|
||||
<NewExternalPort>{port}</NewExternalPort>
|
||||
<NewProtocol>TCP</NewProtocol>
|
||||
<NewInternalPort>{}</NewInternalPort>
|
||||
<NewInternalClient>{}</NewInternalClient>
|
||||
<NewInternalPort>{port}</NewInternalPort>
|
||||
<NewInternalClient>{local_ip}</NewInternalClient>
|
||||
<NewEnabled>1</NewEnabled>
|
||||
<NewPortMappingDescription>rust UPnP</NewPortMappingDescription>
|
||||
<NewLeaseDuration>{}</NewLeaseDuration>
|
||||
|
|
@ -80,10 +80,6 @@ async fn forward_port(
|
|||
</s:Body>
|
||||
</s:Envelope>
|
||||
"#,
|
||||
SERVICE_TYPE_WAN_IP_CONNECTION,
|
||||
port,
|
||||
port,
|
||||
local_ip,
|
||||
lease_duration.as_secs()
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue