Skip to content

Commit bb21d87

Browse files
committed
2 parents 8ee67e8 + 121f097 commit bb21d87

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
https://www.google.com
4646
https://wfdcqaqihwsilzegcknq.supabase.co
4747
wss://wfdcqaqihwsilzegcknq.supabase.co
48-
https://goobapp-backend-tsil.onrender.com
49-
wss://goobapp-backend-tsil.onrender.com
48+
https://api.precontation.me
49+
wss://api.precontation.me
5050
%VITE_CSP_CONNECT_SRC%
5151
https://picsum.photos
5252
https://fastly.picsum.photos;

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Session } from "@supabase/supabase-js";
22
import { useEffect, useState } from "react";
3-
import { createBrowserRouter, RouterProvider } from "react-router";
3+
import { createHashRouter, RouterProvider } from "react-router";
44
import "./App.css";
55
import GroupChatWindow from "./components/Chat/GroupChatWindow";
66
import ChatWindow from "./components/Chat/Window";
@@ -529,7 +529,7 @@ const App = () => {
529529
},
530530
];
531531

532-
const router = createBrowserRouter(routes, {
532+
const router = createHashRouter(routes, {
533533
basename: import.meta.env.BASE_URL,
534534
});
535535

src/utils/Socket.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { io } from "socket.io-client";
22

33
const URL = import.meta.env.PROD
4-
? "https://goobapp-backend-tsil.onrender.com"
4+
? "https://api.precontation.me"
55
: "http://localhost:3000";
66

77
export const SERVER_URL = URL;

0 commit comments

Comments
 (0)