mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
wip
This commit is contained in:
1 parent
22613835e4
commit
b01f55e0cb
4 files changed
+6
-1
No files matched your search
@@ -8,6 +8,7 @@ use Illuminate\Http\Request;
|
||||
use Psr\Http\Message\RequestInterface;
|
||||
use Ratchet\ConnectionInterface;
|
||||
use Ratchet\Http\HttpServerInterface;
|
||||
use function GuzzleHttp\Psr7\parse_request;
|
||||
|
||||
abstract class Controller implements HttpServerInterface
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class AdminController extends Controller
|
||||
} catch (\Throwable $e) {
|
||||
$httpConnection->send(str(new Response(401, [
|
||||
'WWW-Authenticate' => 'Basic realm="Expose"'
|
||||
], 'foo')));
|
||||
])));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
"directories": [
|
||||
"app",
|
||||
"bootstrap",
|
||||
"database",
|
||||
"resources",
|
||||
"config",
|
||||
"vendor"
|
||||
],
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
!.gitignore
|
||||
*
|
||||
Reference in new issue
Block a user