搭建轻舟一期门户、后台和统一登录。
让分类、会员和示例工具共用同一账号,本地即可跑通登录与授权。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie', 'oauth/*'],
|
||||
'allowed_methods' => ['*'],
|
||||
'allowed_origins' => [
|
||||
env('FRONTEND_URL', 'http://127.0.0.1:5173'),
|
||||
env('ADMIN_URL', 'http://127.0.0.1:5174'),
|
||||
],
|
||||
'allowed_origins_patterns' => [],
|
||||
'allowed_headers' => ['*'],
|
||||
'exposed_headers' => [],
|
||||
'max_age' => 0,
|
||||
'supports_credentials' => true,
|
||||
];
|
||||
Reference in New Issue
Block a user