Skip to content

Commit

Permalink
# Lobby-Connections
Browse files Browse the repository at this point in the history
- Fixed comment
  • Loading branch information
CheBato committed Dec 2, 2024
1 parent 4097655 commit a0c311e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const JoinableGame: React.FC = () => {
// Fetch unfilled lobbies from the server
const fetchLobbies = async () => {
try {
const response = await fetch('http://localhost:9500/api/unfilled-lobbies');
const response = await fetch('http://localhost:9500/api/available-lobbies');
if (!response.ok) {
throw new Error(`Error fetching lobbies: ${response.statusText}`);
}
Expand Down

0 comments on commit a0c311e

Please sign in to comment.