Skip to content

Commit 87020a3

Browse files
rickstaayondonfu
authored andcommitted
refactor(ui): change default stream url
This commit changes the default stream url to the local development server so that users can just click start if they have the Comfystream server running.
1 parent 730a71c commit 87020a3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ui/src/components/settings.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ import { Input } from "@/components/ui/input";
2323
import { Label } from "@/components/ui/label";
2424
import { useMediaQuery } from "@/hooks/use-media-query";
2525
import { zodResolver } from "@hookform/resolvers/zod";
26-
import { useCallback, useEffect, useState, createContext, useContext } from "react";
26+
import {
27+
useCallback,
28+
useEffect,
29+
useState,
30+
createContext,
31+
useContext,
32+
} from "react";
2733
import { useForm } from "react-hook-form";
2834
import { z } from "zod";
2935
import { Select } from "./ui/select";
@@ -42,7 +48,7 @@ interface VideoDevice {
4248

4349
export const DEFAULT_CONFIG: StreamConfig = {
4450
streamUrl:
45-
process.env.NEXT_PUBLIC_DEFAULT_STREAM_URL || "http://127.0.0.1:3000",
51+
process.env.NEXT_PUBLIC_DEFAULT_STREAM_URL || "http://127.0.0.1:8888",
4652
frameRate: 30,
4753
selectedDeviceId: "",
4854
};

0 commit comments

Comments
 (0)