• @Gordon

    So it was a fairly easy fix to stop the CORS problem.

    var express = require('express');
    const cors = require('cors');
    var app = express();
    app.use(cors());
    

    If i understand this properly this app.js is just testing. So if that's the case. I can push this simple fix and redirect anything that's trying to load a file from localhost:3040/modules to ~/workspace/espruinowebsite/www/modules

About

Avatar for user156811 @user156811 started