🩹 small fix to remote config request
This commit is contained in:
parent
230d6512b9
commit
69ded82334
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue