9 lines
274 B
JavaScript
9 lines
274 B
JavaScript
|
import Route from "../route.js";
|
||
|
import Auth from "../form/auth.js";
|
||
|
import Format from "../common/format.js";
|
||
|
|
||
|
let main = new Route([Auth], async function (req, res, input) {
|
||
|
return `Hello world! Your name is: ${Format.escape(input.username)}`
|
||
|
});
|
||
|
|
||
|
export default main;
|