Fixes #628 - Handle Cors properly.

This commit is contained in:
James Brooks
2015-05-18 22:07:28 +01:00
parent 8984aecd85
commit bc376748c8
8 changed files with 152 additions and 54 deletions

View File

@@ -46,7 +46,6 @@ class Kernel extends HttpKernel
'login.throttling' => 'CachetHQ\Cachet\Http\Middleware\LoginThrottling',
'app.isSetup' => 'CachetHQ\Cachet\Http\Middleware\AppIsSetup',
'app.hasSetting' => 'CachetHQ\Cachet\Http\Middleware\HasSetting',
'allowedDomains' => 'CachetHQ\Cachet\Http\Middleware\AllowedDomains',
'cors' => 'CachetHQ\Cachet\Http\Middleware\Cors',
];
}