Fixed?
This commit is contained in:
@@ -23,8 +23,6 @@ services:
|
||||
<<: *service-base
|
||||
container_name: server
|
||||
image: oven/bun:latest
|
||||
ports:
|
||||
- 8069:80
|
||||
volumes:
|
||||
- *volume-app
|
||||
working_dir: /app/packages/server
|
||||
|
||||
@@ -12,7 +12,7 @@ export interface TRPCClientProviderProps {
|
||||
export function TRPCClientProvider({ children }: TRPCClientProviderProps) {
|
||||
|
||||
const [queryClient] = useState(new QueryClient())
|
||||
const [wsClient] = useState(createWSClient({ url: "ws://localhost:8069" }))
|
||||
const [wsClient] = useState(createWSClient({ url: "/" }))
|
||||
|
||||
const [trpcClient] = useState(trpc.createClient({
|
||||
links: [
|
||||
|
||||
Reference in New Issue
Block a user