mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-12 22:17:37 +00:00
I learned that makeKeyDelay has been deprecated in matrix-js-sdk ever since the switch to the new encryption manager, so this config option has no effect.
24 lines
671 B
TypeScript
24 lines
671 B
TypeScript
/*
|
|
Copyright 2025 New Vector Ltd.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE in the repository root for full details.
|
|
*/
|
|
|
|
import { defineConfig, mergeConfig } from "vite";
|
|
|
|
import fullConfig from "./vite.config.ts";
|
|
|
|
const base = "./";
|
|
|
|
// Config for embedded deployments (possibly hosted under a non-root path)
|
|
export default defineConfig((env) =>
|
|
mergeConfig(
|
|
fullConfig({ ...env, packageType: "embedded" }),
|
|
defineConfig({
|
|
base, // Use relative URLs to allow the app to be hosted under any path
|
|
publicDir: false, // Don't serve the public directory which only contains the favicon
|
|
}),
|
|
),
|
|
);
|