mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
10 lines
179 B
JavaScript
10 lines
179 B
JavaScript
const { Route, Handler } = require('../service/server');
|
|
|
|
class HomeHandler extends Handler {
|
|
async get() {
|
|
this.response.body = {};
|
|
}
|
|
}
|
|
|
|
Route('/', HomeHandler);
|