mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
fix fetch modpack url
This commit is contained in:
parent
c79f0b9cf8
commit
f6e525d41a
@ -94,7 +94,7 @@ class serviiApi {
|
|||||||
|
|
||||||
public static async fetchModpacks(): Promise<ApiResponse> {
|
public static async fetchModpacks(): Promise<ApiResponse> {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`https://www.api.servii.fr/modpacks/image/a-metadata.txt`, {
|
const response = await fetch(`https://api.servii.fr/modpacks/image/a-metadata.txt`, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
});
|
});
|
||||||
const json = await response.json();
|
const json = await response.json();
|
||||||
|
Loading…
Reference in New Issue
Block a user