de periferica: las redirecciones por turbo generan errores de cors

This commit is contained in:
f 2021-10-27 15:47:33 -03:00
parent fd5763c0cd
commit bb485918bc

View file

@ -80,10 +80,6 @@ export default class extends CartBaseController {
if (checkoutUrls.data.length > 0) redirectUrl = checkoutUrls.data[0]
try {
Turbolinks.visit(redirectUrl)
} catch {
window.location = redirectUrl
}
window.location = redirectUrl
}
}