add repositioning

This commit is contained in:
2020-12-05 10:43:11 +05:30
parent 4f9ee6ba1c
commit 223a9cb197
3 changed files with 33 additions and 18 deletions

View File

@@ -5,13 +5,14 @@ const fs = require('fs')
const path = require('path')
const processing = require('./processing')
const busboy = require('connect-busboy')
const morgan = require('morgan');
// Import settings
const settings = JSON.parse(fs.readFileSync("settings.json"))
app = express()
app.use(bodyParser.urlencoded({extended:false}))
app.use(bodyParser.json())
app.use(morgan('tiny'))
app.use(busboy())
///Make the directory if it doesnt exist