Fix: small fix

This commit is contained in:
2026-03-10 12:05:03 +00:00
parent 81d1281b24
commit 0433e40297
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ export async function getTrackMapConfig(
try {
// Try to fetch from openwheels.racing first
let configUrl = cleanConfig && cleanConfig !== 'default'
? `https://openwheels.racing/files/img/tracks/${cleanTrack}/${cleanConfig}/map.ini`
: `https://openwheels.racing/files/img/tracks/${cleanTrack}/map.ini`;
? `https://files.openwheels.racing/img/tracks/${cleanTrack}/${cleanConfig}/map.ini`
: `https://files.openwheels.racing/img/tracks/${cleanTrack}/map.ini`;
let response = await fetch(configUrl);
+1 -1
View File
@@ -44,7 +44,7 @@ export function formatTrackName(trackName: string): string {
* Handles the track name cleaning and URL construction
*/
export function getTrackMapUrl(trackName: string, trackConfig?: string): string {
const baseUrl = 'https://openwheels.racing/files/img/tracks';
const baseUrl = 'https://files.openwheels.racing/img/tracks';
const cleanedTrack = cleanTrackName(trackName);
const cleanedConfig = trackConfig ? cleanTrackConfig(trackConfig) : '';