mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-12 00:02:53 +00:00
Fixed blank webpage
This commit is contained in:
parent
202d57843c
commit
d0621e98cd
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
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { Router, Route, navigate } from "svelte-navigator";
|
||||
import { getSysinfo, sysinfoStore, dataStore, pricesStore, dayPlotStore, monthPlotStore, temperaturesStore } from './lib/DataStores.js';
|
||||
import { getTariff, tariffStore, sysinfoStore, dataStore, pricesStore, dayPlotStore, monthPlotStore, temperaturesStore } from './lib/DataStores.js';
|
||||
import { translationsStore, getTranslations } from "./lib/TranslationService.js";
|
||||
import Favicon from './assets/favicon.svg'; // Need this for the build
|
||||
import Header from './lib/Header.svelte';
|
||||
|
||||
@ -17,25 +17,25 @@ export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: {
|
||||
proxy: {
|
||||
"/data.json": "http://192.168.233.115",
|
||||
"/energyprice.json": "http://192.168.233.115",
|
||||
"/dayplot.json": "http://192.168.233.115",
|
||||
"/monthplot.json": "http://192.168.233.115",
|
||||
"/temperature.json": "http://192.168.233.115",
|
||||
"/sysinfo.json": "http://192.168.233.115",
|
||||
"/configuration.json": "http://192.168.233.115",
|
||||
"/tariff.json": "http://192.168.233.115",
|
||||
"/realtime.json": "http://192.168.233.115",
|
||||
"/priceconfig.json": "http://192.168.233.115",
|
||||
"/cloudkey.json": "http://192.168.233.115",
|
||||
"/save": "http://192.168.233.115",
|
||||
"/reboot": "http://192.168.233.115",
|
||||
"/configfile": "http://192.168.233.115",
|
||||
"/upgrade": "http://192.168.233.115",
|
||||
"/mqtt-ca": "http://192.168.233.115",
|
||||
"/mqtt-cert": "http://192.168.233.115",
|
||||
"/mqtt-key": "http://192.168.233.115",
|
||||
"/logo.svg": "http://192.168.233.115",
|
||||
"/data.json": "http://192.168.4.1",
|
||||
"/energyprice.json": "http://192.168.4.1",
|
||||
"/dayplot.json": "http://192.168.4.1",
|
||||
"/monthplot.json": "http://192.168.4.1",
|
||||
"/temperature.json": "http://192.168.4.1",
|
||||
"/sysinfo.json": "http://192.168.4.1",
|
||||
"/configuration.json": "http://192.168.4.1",
|
||||
"/tariff.json": "http://192.168.4.1",
|
||||
"/realtime.json": "http://192.168.4.1",
|
||||
"/priceconfig.json": "http://192.168.4.1",
|
||||
"/cloudkey.json": "http://192.168.4.1",
|
||||
"/save": "http://192.168.4.1",
|
||||
"/reboot": "http://192.168.4.1",
|
||||
"/configfile": "http://192.168.4.1",
|
||||
"/upgrade": "http://192.168.4.1",
|
||||
"/mqtt-ca": "http://192.168.4.1",
|
||||
"/mqtt-cert": "http://192.168.4.1",
|
||||
"/mqtt-key": "http://192.168.4.1",
|
||||
"/logo.svg": "http://192.168.4.1",
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user