mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
2
box.json
2
box.json
@@ -3,6 +3,8 @@
|
||||
"directories": [
|
||||
"app",
|
||||
"bootstrap",
|
||||
"database",
|
||||
"resources",
|
||||
"config",
|
||||
"vendor"
|
||||
],
|
||||
|
||||
2
builds/.gitignore
vendored
Normal file
2
builds/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
!.gitignore
|
||||
*
|
||||
Reference in New Issue
Block a user