mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-26 04:50:18 +00:00
Fixed #366, as well as some cleanups
This commit is contained in:
parent
7722810ec9
commit
90bab8e141
8 changed files with 167 additions and 158 deletions
|
@ -1,5 +1,9 @@
|
|||
# ![Logo](https://github.com/WebTools-NG/WebTools-NG/blob/master/src/assets/WebTools-48x48.png) WebTools-ng Change log
|
||||
|
||||
## V0.3.10
|
||||
|
||||
* [#366 if possible allow lan only connections](https://github.com/WebTools-NG/WebTools-NG/issues/366)
|
||||
|
||||
## V0.3.9
|
||||
|
||||
* [#359 ET: Log time it took](https://github.com/WebTools-NG/WebTools-NG/issues/359)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "webtools-ng",
|
||||
"productName": "WebTools-NG",
|
||||
"version": "0.3.9",
|
||||
"version": "0.3.10",
|
||||
"description": "WebTools Next Generation 4 Plex",
|
||||
"author": "dane22 & CPSO",
|
||||
"license": "MPL-2.0",
|
||||
|
|
|
@ -15,7 +15,9 @@ import {
|
|||
|
||||
const isDevelopment = process.env.NODE_ENV !== 'production'
|
||||
|
||||
|
||||
// Bad thing, but need to disable cert checks, since connecting via ip
|
||||
// to a cert issued for plex.direct
|
||||
app.commandLine.appendSwitch('ignore-certificate-errors', 'true');
|
||||
|
||||
// Keep a global reference of the window object, if you don't, the window will
|
||||
// be closed automatically when the JavaScript object is garbage collected.
|
||||
|
|
|
@ -14,11 +14,15 @@ const ptv = new class PTV {
|
|||
let local = false;
|
||||
// Start with the local address check first
|
||||
for (var i = 0; i < server.connections.length; i++) {
|
||||
//server.connections.forEach((val) => {
|
||||
let val = server.connections[i];
|
||||
log.verbose(`Checking: ${val.uri}`);
|
||||
let baseurl = val.uri;
|
||||
log.verbose(`Checking: ${val.protocol}://${val.address}:${val.port}`);
|
||||
let baseurl = val.protocol + '://' + val.address + ':' + val.port;
|
||||
|
||||
|
||||
await axios.get(baseurl + '/identity', {
|
||||
|
||||
|
||||
|
||||
headers: {
|
||||
Accept: 'application/json'
|
||||
},
|
||||
|
|
|
@ -106,7 +106,6 @@
|
|||
</div>
|
||||
<br>
|
||||
<p class="text-center">{{ $t('Modules.PlexTV.Settings') }}</p>
|
||||
{{ this.selSection }}
|
||||
</b-container>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in a new issue