diff --git a/index.html b/index.html new file mode 100644 index 0000000..019fabe --- /dev/null +++ b/index.html @@ -0,0 +1,28 @@ + + + + + + CORS + + + +Response: + + + + + + diff --git a/index.js b/index.js index 55e956b..d667541 100644 --- a/index.js +++ b/index.js @@ -2,8 +2,10 @@ const express = require('express') const app = express() const port = 3000 +let x = 0 app.get('/', (req, res) => { - res.send('Hello World!') + res.send('Hello World!: ' + x); + x++; }) app.listen(port, () => {