7 lines
166 B
JavaScript
7 lines
166 B
JavaScript
|
|
||
|
var ctx = context.new();
|
||
|
|
||
|
function onClientFetch(ctx, url, remoteAddr) {
|
||
|
if (url === 'http://example.com') return { allow: true };
|
||
|
return { allow: false };
|
||
|
}
|