aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-19 02:37:35 -0300
committerPitu <[email protected]>2017-01-19 02:37:35 -0300
commit83aaef0f824e8776ddf4c60a44e6d56c21a0efcc (patch)
treeb9474b361cc328d43fe5bfd4949702c6566819f2 /package.json
parentSmall fixes (diff)
downloadhost.fuwn.me-83aaef0f824e8776ddf4c60a44e6d56c21a0efcc.tar.xz
host.fuwn.me-83aaef0f824e8776ddf4c60a44e6d56c21a0efcc.zip
Changed request system and post data
Changed from XMLHttpRequest to Axiios and made every POST call to look for params or json and not pass the values as headers. Token is still a header though
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 4a8ce8b..cad67a5 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
},
"license": "MIT",
"dependencies": {
+ "body-parser": "^1.16.0",
"express": "^4.14.0",
"knex": "^0.12.6",
"multer": "^1.2.1",