Frontity on Plex 404 error

Greetings to all.

I’m fairly new to Frontity but I cant seem to run the frontity project smoothly on my VPS Plesk server.

I followed the guide (Deploy Frontity with Plesk Node.js extension) and got it working correctly.

The problem is that the console is returning a 404 error as seen in the following image:

My app.js is:

var frontity = require("./server").default;
var http = require("http");
var server = https.createServer(frontity);

Any help would be appreciated.

Thanks in advance!