🩹 small fix to remote config request

This commit is contained in:
Nate Sesti 2024-02-09 15:02:04 -08:00
parent 230d6512b9
commit 69ded82334

View file

@ -38,7 +38,7 @@ export async function setupRemoteConfigSync() {
}
async function syncRemoteConfig(userToken: string, remoteConfigServerUrl: URL) {
const response = await fetch(`${remoteConfigServerUrl}/sync`, {
const response = await fetch(new URL("sync", remoteConfigServerUrl).href, {
method: "GET",
headers: {
Authorization: `Bearer ${userToken}`,