change dev urls

This commit is contained in:
Neo 2025-05-18 20:16:12 -04:00
parent 5157720499
commit a125febbf9
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export function ActionScreen () {
const navigate = useNavigate()
const { sendMessage, lastMessage, readyState } = useWebSocket(`ws://192.168.0.99:8080/live/join-game/${gameContext.channel.current}`, {
const { sendMessage, lastMessage, readyState } = useWebSocket(`wss://inhumane-tv-api.neothedeveloper.com/live/join-game/${gameContext.channel.current}`, {
reconnectAttempts: 5,
retryOnError: true,
reconnectInterval: (lastAttemptNumber) => lastAttemptNumber * 6000

View File

@ -28,7 +28,7 @@ export function JoinGame() {
return;
}
const res = await fetch(`http://localhost:8080/api/v1/play/${code.toLowerCase()}`)
const res = await fetch(`https://inhumane-tv-api.neothedeveloper.com/api/v1/play/${code.toLowerCase()}`)
if (!res.ok) {
setErrorMessage((await res.json()).message)
return;