fix cors
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ return [
|
|||||||
'allowed_methods' => ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
|
'allowed_methods' => ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
|
||||||
|
|
||||||
'allowed_origins' => [
|
'allowed_origins' => [
|
||||||
'https://humicletter.humicprototyping.com', // domain frontend kamu
|
'https://humicletter.humicprototyping.net', // domain frontend kamu
|
||||||
//'http://localhost:3000', // kalau develop lokal, bisa dihapus kalau udah produksi
|
//'http://localhost:3000', // kalau develop lokal, bisa dihapus kalau udah produksi
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user