Cloudfront hosting causing CORS/origin issues with history

Hi. I’ve been using what you said here for a couple of years @yaustar but as of recently, I get errors pushing to history if I preced with /e/

this example: World of Epiroc

gives these errors but only if I add /e/

@yak32 Some more issues around the move to cloudfront hosting

I am deploying a fix quickly

1 Like

the fix is deployed, please check your app

Ok, this framed version looks good (did before too): https://playcanv.as/p/ByVcQNzb/, but if I add the /e/ ( https://playcanv.as/e/p/ByVcQNzb/ ) it resolves to https://playcanv.as/apps/6ee771fe/index.html?hotspot=0

/apps/ actually points to CDN but stays on the same origin, so CORS issues should be fixed now - does it break something in your game?

No it seems to work that way. Thanks!

Edit: I’m getting another problem now.

I can go to https://playcanv.as/e/p/ByVcQNzb/ and it resolves to https://playcanv.as/apps/25ee6a6e/?hotspot=0 which is fine. I can click around, end up at other hotspots but wheneven I try to type another hotsot in the address field and press enter I get this error. Or if I just select the url and press enter as if to resubmit it. Error appears.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>

AccessDenied

Access Denied

B864R2B7D7J00QBD

pas2/0f+tricBOVtlBk/2Rxplo+SdWTUXYxruTopEyn0v8ko+7aFEVqmpC69JTYUCBzACkh06hhEJ4/zW7JHN3q2xRhXLzu2

Can you reproduce that on your end? @yak32

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.