add cors, needed for dev mode at least

This commit is contained in:
Thomas Ruoff
2017-02-18 01:04:03 +01:00
parent d806327bf9
commit b9424abebf
3 changed files with 5 additions and 6 deletions

View File

@@ -13,6 +13,7 @@
"license": "ISC",
"dependencies": {
"body-parser": "^1.16.1",
"cors": "^2.8.1",
"express": "^4.14.1",
"preact": "^7.2.0",
"preact-router": "^2.4.1"