This commit is contained in:
DTTerastar 2024-10-05 23:41:52 -04:00
parent 42555e7ed9
commit 91f3dd3c56
2 changed files with 18 additions and 31 deletions

View File

@ -4,23 +4,23 @@
*/
// Autogenerated do not edit!!
const uint16_t INDEX_HTML_L = 227;
const uint16_t INDEX_HTML_L = 228;
const uint8_t INDEX_HTML[] PROGMEM = {
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0x2d, 0x50, 0x41, 0x6e, 0xc3, 0x30,
0x0c, 0xfb, 0x8a, 0xe7, 0x73, 0xd3, 0x60, 0xb7, 0x1e, 0xec, 0xdc, 0xb6, 0xf3, 0x80, 0x6d, 0x0f,
0x70, 0x6d, 0xae, 0xd1, 0xe6, 0xc8, 0x81, 0xa5, 0xa6, 0xcb, 0xef, 0xe7, 0x24, 0xbb, 0x10, 0xa0,
0x28, 0x12, 0x94, 0xdc, 0x53, 0x2a, 0x51, 0xd7, 0x19, 0x66, 0xd4, 0x29, 0x0f, 0x6e, 0x43, 0x93,
0x03, 0xdf, 0xbc, 0x05, 0xdb, 0xc6, 0x11, 0xd2, 0xe0, 0x26, 0x68, 0x30, 0x71, 0x0c, 0x55, 0xa0,
0xde, 0x7e, 0x7e, 0xbc, 0x76, 0x17, 0xdb, 0xff, 0x8f, 0x39, 0x4c, 0xf0, 0x76, 0x21, 0x3c, 0xe6,
0x52, 0xd5, 0x9a, 0x58, 0x58, 0xc1, 0x6d, 0xed, 0x41, 0x49, 0x47, 0x9f, 0xb0, 0x50, 0x44, 0xb7,
0x93, 0x13, 0x31, 0x29, 0x85, 0xdc, 0x49, 0x0c, 0x19, 0xfe, 0x79, 0xcb, 0x50, 0xd2, 0x8c, 0xe1,
0xe5, 0xfd, 0xad, 0x42, 0xc0, 0x02, 0xd7, 0x1f, 0x13, 0x27, 0xb1, 0xd2, 0xac, 0x66, 0xeb, 0xe6,
0xed, 0x54, 0xd2, 0x3d, 0xa3, 0x85, 0xd7, 0x22, 0x52, 0x2a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xe4, 0x91, 0x32, 0x09, 0xf9, 0x34, 0x70, 0xf0, 0x09, 0xee, 0x69, 0xcf, 0x10, 0x92, 0x84, 0xf1,
0xe5, 0xfd, 0xad, 0x81, 0x91, 0x19, 0xd6, 0x9c, 0x13, 0xcb, 0xa1, 0x51, 0x15, 0xb5, 0x77, 0x73,
0x7a, 0x2e, 0x71, 0x49, 0xe8, 0xe1, 0xad, 0x30, 0x97, 0x46, 0x37, 0xca, 0x8a, 0x5b, 0x70, 0xda,
0x2c, 0x64, 0x28, 0x47, 0xfc, 0x5e, 0xbe, 0xb9, 0xd7, 0x35, 0xa7, 0x6b, 0xb4, 0x89, 0xf2, 0x8f,
0x6a, 0x48, 0x4e, 0xb3, 0x6c, 0x09, 0x3c, 0x01, 0xbd, 0xdb, 0xd4, 0xf0, 0x75, 0x7a, 0xae, 0x4b,
0x8e, 0x09, 0x97, 0xc0, 0x87, 0xeb, 0xbc, 0xf2, 0x5a, 0xe2, 0x36, 0xda, 0x48, 0xab, 0xa2, 0xe8,
0xb4, 0xaf, 0x75, 0x97, 0x3a, 0xed, 0x78, 0x4a, 0xe6, 0xf8, 0xd1, 0x1f, 0x23, 0xd1, 0x01, 0x74,
0x33, 0x01, 0x00, 0x00
};
void serveIndexHtml(AsyncWebServerRequest* request) {

View File

@ -74,13 +74,14 @@ function cppPlugin() {
}
export default defineConfig({
base: '/ui/',
plugins: [
svelte({
emitCss: true,
}),
createHtmlPlugin({
minify: true,
}),
}),
cppPlugin()
],
build: {
@ -122,19 +123,5 @@ export default defineConfig({
},
},
cssCodeSplit: false, // This ensures a single CSS file
},
server: {
proxy: {
'^/(json|extras|restart)': {
target: 'http://192.168.128.180/',
changeOrigin: true,
rewrite: (path) => path
},
'^/ws': {
target: 'ws://192.168.128.180/',
changeOrigin: true,
rewrite: (path) => path
},
}
}
});