feat: add Vite configuration with custom plugins and server settings
This commit is contained in:
4
src/app/state/activeRoom.ts
Normal file
4
src/app/state/activeRoom.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { atom } from 'jotai';
|
||||
|
||||
// Atom to track the currently active room ID for the titlebar
|
||||
export const activeRoomIdAtom = atom<string | undefined>(undefined);
|
||||
@@ -52,6 +52,8 @@ export interface Settings {
|
||||
developerTools: boolean;
|
||||
|
||||
autoJoinSpaceRooms: boolean;
|
||||
|
||||
livekitServiceUrl?: string;
|
||||
}
|
||||
|
||||
const defaultSettings: Settings = {
|
||||
@@ -91,6 +93,8 @@ const defaultSettings: Settings = {
|
||||
developerTools: false,
|
||||
|
||||
autoJoinSpaceRooms: true,
|
||||
|
||||
livekitServiceUrl: undefined,
|
||||
};
|
||||
|
||||
export const getSettings = () => {
|
||||
|
||||
Reference in New Issue
Block a user