Task: Fixed controller and application for routes and allow middleware for json and form urclosed
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-09-14 09:44:25 +07:00
parent 67c94211e7
commit 20fa35a575
5 changed files with 52 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ class Application {
constructor() {
this._instance = express()
this._instance.use(express.json())
this._instance.use(express.urlencoded({ extended: false }))
this.registerRoutes()
}