Fixed blank webpage

This commit is contained in:
Gunnar Skjold 2024-05-30 14:07:45 +02:00
parent 202d57843c
commit d0621e98cd
3 changed files with 26 additions and 26 deletions

File diff suppressed because one or more lines are too long

View File

@ -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';

View File

@ -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",
}
}
})