Merge pull request 'API FIX' (#2) from dev into master
Reviewed-on: https://git.pooper.social/verita84/picluster/pulls/2
This commit is contained in:
commit
c94054f61d
@ -15,9 +15,7 @@ let config = JSON.parse(fs.readFileSync((process.env.PICLUSTER_CONFIG ? process.
|
||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = config.ssl_self_signed ? '0' : '1';
|
||||
|
||||
const app = express();
|
||||
app.use(express.urlencoded({
|
||||
limit: '20mb'
|
||||
}));
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
app.use(express.json({
|
||||
limit: '20mb'
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user