Failure publishing packaged on public web server


I create a staticpkg, it just works locally (pxt server -pkg) but publishing packaged over nginx server fails to start a new project or open an old one.

It worked using pxt 6.3.9 / pxt-microbit 3.1.3, but fails with new versions pxt 6.8.2 / pxt-microbit 3.1.40

Hello, I solve using pxt-microbit 3.0.63, it runs new microbit V2.