chore: cleanup CORS and localhost references in config

This commit is contained in:
dyzulk
2026-01-01 17:43:13 +07:00
parent 2ac24ca91c
commit 5a3e6b45ef
3 changed files with 4 additions and 6 deletions

View File

@@ -16,10 +16,8 @@ return [
*/
'stateful' => array_merge(
explode(',', env('SANCTUM_STATEFUL_DOMAINS', 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1')),
explode(',', env('SANCTUM_STATEFUL_DOMAINS', 'trustlab.dyzulk.com,api.trustlab.dyzulk.com,trustlab.pages.dev')),
[
'trustlab.dyzulk.com',
'dev.trustlab.dyzulk.com',
parse_url(env('APP_URL', ''), PHP_URL_HOST),
parse_url(env('FRONTEND_URL', ''), PHP_URL_HOST),
],