feat(app,module): fetch basic module
This commit is contained in:
@ -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' };
|
||||
}
|
Reference in New Issue
Block a user