mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 11:04:45 +02:00
Set content type
This commit is contained in:
parent
f795b38db5
commit
675c289780
@ -56,6 +56,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
Http::macro(
|
||||
'daemon',
|
||||
fn (Node $node, array $headers = []) => Http::acceptJson()
|
||||
->asJson()
|
||||
->withToken($node->getDecryptedKey())
|
||||
->withHeaders($headers)
|
||||
->withOptions(['verify' => (bool) app()->environment('production')])
|
||||
|
Loading…
x
Reference in New Issue
Block a user