mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: experimental hot reload support
This commit is contained in:
1 parent
632ae27b88
commit
fd7c9cbeb1
26 files changed
+429
-148
No files matched your search
@@ -63,8 +63,6 @@ class DataReportHandler extends Handler {
|
||||
}
|
||||
}
|
||||
|
||||
export function apply() {
|
||||
Route('data_report', '/center/report', DataReportHandler);
|
||||
export function apply(ctx) {
|
||||
ctx.Route('data_report', '/center/report', DataReportHandler);
|
||||
}
|
||||
|
||||
global.Hydro.handler.center = apply;
|
||||
Reference in new issue
Block a user