We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b070a5 commit 89bde10Copy full SHA for 89bde10
index.js
@@ -27,6 +27,7 @@ async function request() {
27
const server = http.createServer((req, res) => {
28
request().then(() => {
29
res.setHeader('Content-Type', 'application/json');
30
+ res.setHeader('Access-Control-Allow-Origin', '*');
31
res.end(JSON.stringify(currentData));
32
});
33
0 commit comments