mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-08 02:52:49 +00:00
feat: matrix
This commit is contained in:
@@ -22,6 +22,7 @@ process.env["VITE_BUGS_URL"] = bugs.url;
|
||||
process.env["VITE_LEARN_URL"] = "https://www.iq-eq.io/";
|
||||
process.env["VITE_LATEST_FIRMWARE"] = "1.1.4";
|
||||
process.env["VITE_STORE_URL"] = "https://www.charachorder.com/";
|
||||
process.env["VITE_MATRIX_URL"] = "https://charachorder.io/";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
@@ -32,6 +33,9 @@ export default defineConfig({
|
||||
external: isTauri ? [/virtual:pwa.*/] : [],
|
||||
},
|
||||
},
|
||||
define: {
|
||||
global: "window",
|
||||
},
|
||||
envPrefix: ["TAURI_", "VITE_"],
|
||||
plugins: [
|
||||
ViteYaml(),
|
||||
@@ -42,6 +46,7 @@ export default defineConfig({
|
||||
SvelteKitPWA({
|
||||
kit: {
|
||||
trailingSlash: "always",
|
||||
adapterFallback: "404.html",
|
||||
},
|
||||
scope: "/",
|
||||
base: "/",
|
||||
@@ -52,7 +57,7 @@ export default defineConfig({
|
||||
"client/**/*.{js,map,css,ico,woff2,csv,png,webp,svg,webmanifest}",
|
||||
"prerendered/**/*.html",
|
||||
],
|
||||
ignoreURLParametersMatching: [/^import$/],
|
||||
ignoreURLParametersMatching: [/^import|redirectUrl|loginToken$/],
|
||||
},
|
||||
manifest: {
|
||||
name: "CharaChorder Device Manager",
|
||||
|
||||
Reference in New Issue
Block a user