mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
upgrade to typescript@5.6 and cordis@3.18
This commit is contained in:
22 files changed
+52
-46
No files matched your search
@@ -36,6 +36,5 @@ export default class GeoIPService extends Service {
|
||||
}
|
||||
|
||||
export async function apply(ctx: Context) {
|
||||
ctx.provide('geoip');
|
||||
ctx.geoip = new GeoIPService(ctx);
|
||||
ctx.set('geoip', new GeoIPService(ctx));
|
||||
}
|
||||
Reference in new issue
Block a user