Can't play output game on a server

I am in the process of creating a game in RPG Maker MV, anyways I am trying to run my game on a browser so I can share it with some friends without them having to install anything and allowing me to do live changes (for now I am using localhost just to see if It's worth buying the hosting), I encrypted the files to prevent any peeking, anyways It works just fine when running the game on the game maker .exe, but it's throwing errors when opening it on a static server.

Anyways after setting up a node static server and opening the index file, I get this error:

1699660318779.png



Not saying there are a bunch of errors on the console related to this:

1699660405268.png



Probably it's the encryption, anyways I wish to keep it and host the website correctly.

Any help to making it work is really appreciated!!

If you are wondering how the server code looks like:
var static = require('node-static'); var file = new static.Server('./public/'); require('http').createServer(function (request, response) { request.addListener('end', function () { file.serve(request, response); }).resume(); }).listen(8000); console.log("Listening on Port 8000");
Dump? maybe someone can help?
I could be mistaken, but I don't believe encryption touches the JSON files, just the assets.

If you think it's related to encryption, have you tried simply exporting it without any encryption to see if it works that way?
I could be mistaken, but I don't believe encryption touches the JSON files, just the assets.

If you think it's related to encryption, have you tried simply exporting it without any encryption to see if it works that way?
I've tried, and indeed, it works just fine without the encryption, anyways I don't really want the assets being leaked easily, I think I will just upload it without encryption

Original thread: https://forums.rpgmakerweb.com/threads/cant-play-output-game-on-a-server.162817/