Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
6922a29f
Commit
6922a29f
authored
Apr 04, 2018
by
Viral Solani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolve cors error
parent
ce4bd72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
cors.php
config/cors.php
+9
-0
No files found.
config/cors.php
View file @
6922a29f
...
...
@@ -39,6 +39,15 @@ return [
'Authorization'
,
],
'expose_headers'
=>
[
'Cache-Control'
,
'Content-Language'
,
'Content-Type'
,
'Expires'
,
'Last-Modified'
,
'Pragma'
,
],
'forbidden_response'
=>
[
'message'
=>
'Forbidden (cors).'
,
'status'
=>
403
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment