Add redirect

This commit is contained in:
Adria Navarro 2023-12-12 16:57:41 +01:00
parent 3f11597251
commit b7ec577efd
1 changed files with 5 additions and 0 deletions

View File

@ -45,4 +45,9 @@ export const API = createAPIClient({
}
}
},
onMigrationDetected: appId => {
window.location = `/builder/updating/${appId}?returnUrl=${encodeURI(
window.location
)}`
},
})