Pretty-print JSON output!
This commit is contained in:
parent
08df40e529
commit
c9f5e5bf3c
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ declare global {
|
|||
|
||||
const app = express()
|
||||
|
||||
app.set('json spaces', 2)
|
||||
|
||||
app.set('view engine', 'ejs')
|
||||
app.set('views', path.join(__dirname, './app/views'))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue