'Scroll to top' rocket broken on mod portal (CORS)

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
coderpatsy
Long Handed Inserter
Long Handed Inserter
Posts: 67
Joined: Tue Apr 17, 2018 11:45 pm
Contact:

'Scroll to top' rocket broken on mod portal (CORS)

Post by coderpatsy »

The rocket that you click to scroll to the top of the page is broken on mods.factorio.com. It looks to be a CORS error trying to load the script from factorio.com:
Access to script at 'https://factorio.com/static/js/factorio.js?v=c6398351' from origin 'https://mods.factorio.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The rocket works just fine on factorio.com pages.

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 128
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: 'Scroll to top' rocket broken on mod portal (CORS)

Post by vinzenz »

coderpatsy wrote:
Sun Nov 13, 2022 3:54 am
The rocket that you click to scroll to the top of the page is broken on mods.factorio.com. It looks to be a CORS error trying to load the script from factorio.com:
Thanks for the info, I fixed the CORS error.
bringing the oops to devops

Post Reply

Return to “Mod portal Discussion”