/** * (non-PHPdoc) * * @see \compact\IAppContext::services() */ public function services(Context $ctx) { if ($ctx->isLocal()) { $ctx->http()->getResponse()->setCORSHeaders(); } }