use CORS w/ @types/cors to allow gractwo.pl access to api

This commit is contained in:
2022-12-21 10:21:35 +01:00
parent 81701e030d
commit 3c4587fe2a
3 changed files with 56 additions and 0 deletions

View File

@@ -20,7 +20,9 @@
},
"homepage": "https://github.com/gractwo/bot#readme",
"dependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.15",
"cors": "^2.8.5",
"discord.js": "^14.7.1",
"dotenv": "^16.0.3",
"express": "^4.18.2",