feat(app,module): fetch basic module

This commit is contained in:
2023-04-02 17:59:33 +02:00
parent d8ce2901d2
commit fbb27d6ea4
17 changed files with 472 additions and 3 deletions

View File

@ -97,4 +97,8 @@ function getApp(ctx, params) {
function getAppUrl(ctx, params) {
var appId = params.appId;
return app.getUrl(ctx, appId);
}
function onClientFetch(ctx, url, remoteAddr) {
return { allow: url === 'http://example.com' };
}