mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-09 07:09:20 +00:00
Adjustments to make IPv6 address visible in GUI
This commit is contained in:
2
lib/SvelteUi/app/dist/index.css
vendored
2
lib/SvelteUi/app/dist/index.css
vendored
File diff suppressed because one or more lines are too long
12
lib/SvelteUi/app/dist/index.js
vendored
12
lib/SvelteUi/app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
2387
lib/SvelteUi/app/package-lock.json
generated
2387
lib/SvelteUi/app/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -206,11 +206,11 @@
|
||||
</div>
|
||||
{#if sysinfo.net.ipv6}
|
||||
<div class="my-2">
|
||||
IPv6: {sysinfo.net.ipv6}
|
||||
IPv6: <span style="font-size: 14px;">{sysinfo.net.ipv6.replace(/\b:?(?:0+:?){2,}/, '::')}</span>
|
||||
</div>
|
||||
<div class="my-2">
|
||||
{#if sysinfo.net.dns1v6}DNSv6: {sysinfo.net.dns1v6}{/if}
|
||||
{#if sysinfo.net.dns2v6}DNSv6: {sysinfo.net.dns2v6}{/if}
|
||||
{#if sysinfo.net.dns1v6}DNSv6: <span style="font-size: 14px;">{sysinfo.net.dns1v6.replace(/\b:?(?:0+:?){2,}/, '::')}</span>{/if}
|
||||
{#if sysinfo.net.dns2v6}DNSv6: <span style="font-size: 14px;">{sysinfo.net.dns2v6.replace(/\b:?(?:0+:?){2,}/, '::')}</span>{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -17,26 +17,26 @@ export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: {
|
||||
proxy: {
|
||||
"/data.json": "http://192.168.233.49",
|
||||
"/energyprice.json": "http://192.168.233.49",
|
||||
"/dayplot.json": "http://192.168.233.49",
|
||||
"/monthplot.json": "http://192.168.233.49",
|
||||
"/temperature.json": "http://192.168.233.49",
|
||||
"/sysinfo.json": "http://192.168.233.49",
|
||||
"/configuration.json": "http://192.168.233.49",
|
||||
"/tariff.json": "http://192.168.233.49",
|
||||
"/realtime.json": "http://192.168.233.49",
|
||||
"/priceconfig.json": "http://192.168.233.49",
|
||||
"/translations.json": "http://192.168.233.188",
|
||||
"/cloudkey.json": "http://192.168.233.49",
|
||||
"/save": "http://192.168.233.49",
|
||||
"/reboot": "http://192.168.233.49",
|
||||
"/configfile": "http://192.168.233.49",
|
||||
"/upgrade": "http://192.168.233.49",
|
||||
"/mqtt-ca": "http://192.168.233.49",
|
||||
"/mqtt-cert": "http://192.168.233.49",
|
||||
"/mqtt-key": "http://192.168.233.49",
|
||||
"/logo.svg": "http://192.168.233.49",
|
||||
"/data.json": "http://192.168.230.115",
|
||||
"/energyprice.json": "http://192.168.230.115",
|
||||
"/dayplot.json": "http://192.168.230.115",
|
||||
"/monthplot.json": "http://192.168.230.115",
|
||||
"/temperature.json": "http://192.168.230.115",
|
||||
"/sysinfo.json": "http://192.168.230.115",
|
||||
"/configuration.json": "http://192.168.230.115",
|
||||
"/tariff.json": "http://192.168.230.115",
|
||||
"/realtime.json": "http://192.168.230.115",
|
||||
"/priceconfig.json": "http://192.168.230.115",
|
||||
"/translations.json": "http://192.168.230.115",
|
||||
"/cloudkey.json": "http://192.168.230.115",
|
||||
"/save": "http://192.168.230.115",
|
||||
"/reboot": "http://192.168.230.115",
|
||||
"/configfile": "http://192.168.230.115",
|
||||
"/upgrade": "http://192.168.230.115",
|
||||
"/mqtt-ca": "http://192.168.230.115",
|
||||
"/mqtt-cert": "http://192.168.230.115",
|
||||
"/mqtt-key": "http://192.168.230.115",
|
||||
"/logo.svg": "http://192.168.230.115",
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user