File size: 782 Bytes
6046815
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const express = require("express");
const querystring = require("querystring");
const app = express();
app.set("json spaces", 2);

app.use((req, res) => {console.Clear();
    console.log("You're seeing this because you've created a new route!");
    console.log("");
    console.log("If you want to render a JSON loot, use res.json({ json: 'your json' })");
    console.log("");
    console.log("If you want to render a DaisyUI-powered loot, use res.daisyUI({ daisyUI: 'your daisyUI' })");
    console.log("");
    console.log("If you want to make a redirect, use res.redirect('example.com')");
    console.log("");
    console.log("If you want to show this revelayer again, clear the console and refresh the page");
    console.log("");
 console.log("");
});

module.exports = app;