diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-15 09:48:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 09:48:06 +0200 |
commit | 14d2364fc69e0222133115c55a36286986006098 (patch) | |
tree | 9e9b3c41ef742bbe87ca1632b292c67043051957 /src/internal-server/config | |
parent | 5.6.3-nightly.34 [skip ci] (diff) | |
download | ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.gz ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.zst ferdium-app-14d2364fc69e0222133115c55a36286986006098.zip |
chore: update eslint setup (#2074)
Diffstat (limited to 'src/internal-server/config')
-rw-r--r-- | src/internal-server/config/app.js | 1 | ||||
-rw-r--r-- | src/internal-server/config/bodyParser.js | 12 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/internal-server/config/app.js b/src/internal-server/config/app.js index 0a1644932..379190734 100644 --- a/src/internal-server/config/app.js +++ b/src/internal-server/config/app.js | |||
@@ -2,7 +2,6 @@ | |||
2 | const Env = use('Env'); | 2 | const Env = use('Env'); |
3 | 3 | ||
4 | module.exports = { | 4 | module.exports = { |
5 | |||
6 | /* | 5 | /* |
7 | |-------------------------------------------------------------------------- | 6 | |-------------------------------------------------------------------------- |
8 | | Application Name | 7 | | Application Name |
diff --git a/src/internal-server/config/bodyParser.js b/src/internal-server/config/bodyParser.js index 8a5406f9e..ef2eedf40 100644 --- a/src/internal-server/config/bodyParser.js +++ b/src/internal-server/config/bodyParser.js | |||
@@ -58,9 +58,7 @@ module.exports = { | |||
58 | | | 58 | | |
59 | */ | 59 | */ |
60 | raw: { | 60 | raw: { |
61 | types: [ | 61 | types: ['text/*'], |
62 | 'text/*', | ||
63 | ], | ||
64 | }, | 62 | }, |
65 | 63 | ||
66 | /* | 64 | /* |
@@ -72,9 +70,7 @@ module.exports = { | |||
72 | | | 70 | | |
73 | */ | 71 | */ |
74 | form: { | 72 | form: { |
75 | types: [ | 73 | types: ['application/x-www-form-urlencoded'], |
76 | 'application/x-www-form-urlencoded', | ||
77 | ], | ||
78 | }, | 74 | }, |
79 | 75 | ||
80 | /* | 76 | /* |
@@ -86,9 +82,7 @@ module.exports = { | |||
86 | | | 82 | | |
87 | */ | 83 | */ |
88 | files: { | 84 | files: { |
89 | types: [ | 85 | types: ['multipart/form-data'], |
90 | 'multipart/form-data', | ||
91 | ], | ||
92 | 86 | ||
93 | /* | 87 | /* |
94 | |-------------------------------------------------------------------------- | 88 | |-------------------------------------------------------------------------- |