Skip to content

Commit

Permalink
Update defaults for client
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Sep 20, 2023
1 parent d9e5b93 commit 3d53260
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions client/src/slices/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,7 @@ type Settings = {
accentColor?: AccentColor;
};

const DEV_PORT = 8001;

export const defaultRemotes = [
{
url: `internal://trace/`,
transport: "native",
key: "trace-provider",
},
{
url: `http://localhost:${DEV_PORT}/`,
transport: "socketio",
key: "default-development-server",
disabled: true,
},
{
url: `https://warthog.spaaaacccee.io/`,
transport: "socketio",
key: "production-server",
disabled: true,
},
];
export const defaultRemotes = [];

export const defaultRenderers = [
{
Expand All @@ -60,8 +40,8 @@ const defaults = {
renderer: defaultRenderers,
remote: defaultRemotes,
playbackRate: defaultPlaybackRate,
theme: "light",
accentColor: "teal",
theme: "dark",
accentColor: "blue",
} as Settings;

export const [useSettings, SettingsProvider] = createSlice<Settings>(
Expand Down

0 comments on commit 3d53260

Please sign in to comment.