mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
update slave auth
This commit is contained in:
parent
0dbd78cd8f
commit
a24eebe4e8
@ -20,9 +20,7 @@ class SlaveAuthentication
|
||||
||
|
||||
env('SLAVE_INSTANCE') === false
|
||||
) {
|
||||
return response()->json([
|
||||
'error' => 'Slave not configured properly'
|
||||
]);
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
$slaveKeyHeader = env('SLAVE_KEY_HEADER');
|
||||
|
Loading…
x
Reference in New Issue
Block a user