Fix PostEditModal. Closes #7084

pull/7074/head
Daniel Supernault 2 weeks ago
parent b710ebb67b
commit d7cfd07204
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -15,7 +15,7 @@ class StatusEditController extends Controller
{
public function __construct()
{
$this->middleware('auth:api');
$this->middleware('auth:sanctum,api');
}
public function store(StoreStatusEditRequest $request, $id)

@ -26,6 +26,8 @@ return [
'api/*',
'oauth/*',
'sanctum/csrf-cookie',
'login',
'logout',
],
/*
@ -36,7 +38,7 @@ return [
/*
* Matches the request origin. `[*]` allows all origins. Wildcards can be used, eg `*.mydomain.com`
*/
'allowed_origins' => ['*'],
'allowed_origins' => env('PF_CORS_ALLOWED_ORIGINS') ? explode(',', env('PF_CORS_ALLOWED_ORIGINS', '')) : [],
/*
* Patterns that can be used with `preg_match` to match the origin.

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save