Skip to content

Commit a4015d9

Browse files
authored
Fix v1 servers handling (#4596)
1 parent 977de0e commit a4015d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/composables/servers/servers-fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export async function useServersFetch<T>(
8484
? `${base}/modrinth/v${version}/${path.replace(/^\//, '')}`
8585
: version === 'internal'
8686
? `${base}/_internal/${path.replace(/^\//, '')}`
87-
: `${base}/modrinth/v${version}/${path.replace(/^\//, '')}`
87+
: `${base}/v${version}/${path.replace(/^\//, '')}`
8888

8989
const headers: Record<string, string> = {
9090
'User-Agent': 'Modrinth/1.0 (https://modrinth.com)',

0 commit comments

Comments
 (0)