File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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;
Original file line number Diff line number Diff line change 11import type { Session } from "@supabase/supabase-js" ;
22import { useEffect , useState } from "react" ;
3- import { createBrowserRouter , RouterProvider } from "react-router" ;
3+ import { createHashRouter , RouterProvider } from "react-router" ;
44import "./App.css" ;
55import GroupChatWindow from "./components/Chat/GroupChatWindow" ;
66import 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
Original file line number Diff line number Diff line change 11import { io } from "socket.io-client" ;
22
33const URL = import . meta. env . PROD
4- ? "https://goobapp-backend-tsil.onrender.com "
4+ ? "https://api.precontation.me "
55 : "http://localhost:3000" ;
66
77export const SERVER_URL = URL ;
You can’t perform that action at this time.
0 commit comments