// CORS header `Access-Control-Allow-Origin` set to accept all app.get('/allow-cors', function(request, response) { response.set('Access-Control-Allow-Origin', '*'); response.sendFile(__dirname + '/message.json'); });