Posted January 02, 2022 by tinygames
That was an easy fix, I wrote window.open("/#preview"), which try to navigate to the root path for the domain, which works fine on localhost but not on itch.io of course. So I uploaded the fixed version with window.open("#preview") and it works, so you can now preview your creations in a new window.