diff --git a/public/index.html b/index.html
similarity index 86%
rename from public/index.html
rename to index.html
index e14d79be..5f9ae1f7 100644
--- a/public/index.html
+++ b/index.html
@@ -8,10 +8,11 @@
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
/>
-
<%- title %>
+ Element Call
+
diff --git a/src/main.tsx b/src/main.tsx
index 4fc8c2c9..d88461a0 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -23,6 +23,7 @@ import {
import { App } from "./App";
import { init as initRageshake } from "./settings/rageshake";
import { Initializer } from "./initializer";
+import "@matrix-org/matrix-sdk-crypto-wasm";
initRageshake().catch((e) => {
logger.error("Failed to initialize rageshake", e);
diff --git a/vite.config.js b/vite.config.js
index c32ab0e7..bee32993 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -7,7 +7,6 @@ Please see LICENSE in the repository root for full details.
import { defineConfig, loadEnv } from "vite";
import svgrPlugin from "vite-plugin-svgr";
-import htmlTemplate from "vite-plugin-html-template";
import { codecovVitePlugin } from "@codecov/vite-plugin";
import { sentryVitePlugin } from "@sentry/vite-plugin";
import react from "@vitejs/plugin-react";
@@ -27,11 +26,6 @@ export default defineConfig(({ mode }) => {
ref: true,
},
}),
- htmlTemplate.default({
- data: {
- title: env.VITE_PRODUCT_NAME || "Element Call",
- },
- }),
codecovVitePlugin({
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
@@ -56,6 +50,7 @@ export default defineConfig(({ mode }) => {
}
return {
+ base: './',
server: {
port: 3000,
},