Commit 1f111245 by twb

Update app.js

parent 805ea19c
Pipeline #92 passed with stages
in 25 seconds
......@@ -13,7 +13,7 @@ app.use(async (ctx, next) => {
app.use(async (ctx, next) => {
var name = ctx.request.query.name || 'world';
ctx.response.type = 'text/html';
ctx.response.body = `<h1>, ${name}!</h1>`;
ctx.response.body = `<h1>Hello, ${name}!</h1>`;
});
module.exports = app;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment