How to host a game in express.js

What do I have to do to play the game in express.js server?

It becomes stuck on the Gdevelop load screen:

This is my code, I simply dropped all the files from an html5 export into a root folder. It is a local folder and server on my PC.

Server>games>html> gametwo

None of my code seems to work. Sometimes the game appears sometimes it gets stuck on a screen. And when accessing from external route it gets stuck on a black screen and no loading bar even appears.

Code:

const express = require('express');
const app = express(); 
const port = 8080; 
const cors = require('cors'); 
const path = require('path'); 
const mongoose = require('mongoose');
const testRouter = require('./routes/testRouter');

//middle ware that intercepts
app.use((req,res,next)=>{
    console.log('middleware req sent /');
    next();   
})

app.use(express.json())
app.use(cors())
app.use(express.static(path.join(__dirname, '/'))) //serves all assets/ files in this directory
app.use(testRouter);

app.get('/game', (req,res,next)=>{
    res.sendFile(path.join( __dirname,'games/html/gametwo', 'index.html'))
})



app.listen(port, ()=>{
    console.log(`port ${port} server running hey hey yo`)
    //mongoose.connect('uri string goes here')
})

I can’t use the URL directly to the folder, nor can I serve and use res.sendFile() from app.get() route. Any one know what the issue might be?