From 8162f7289842c14d7b6c6730c9c549eb59c5edac Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 27 Oct 2025 22:41:51 +0100 Subject: [PATCH] numbEnter should work now --- backend.js | 6 ------ index.html | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/backend.js b/backend.js index 2ae9234..9b1a3ac 100644 --- a/backend.js +++ b/backend.js @@ -4,12 +4,6 @@ const app = express(); app.use(express.static(__dirname)); -app.use((req, res, next) => { - res.header('Access-Control-Allow-Origin', '*'); - res.header('Access-Control-Allow-Methods', 'GET, POST, OPTIONS'); - res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept'); - next(); -}); app.listen(3000, () => { diff --git a/index.html b/index.html index 65ff06a..adbf7d9 100644 --- a/index.html +++ b/index.html @@ -65,7 +65,7 @@