Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fbc3a741
authored
2016-05-02 15:24:25 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
d
1 parent
4071f5d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Middleware/Cors.php
app/Http/Middleware/Cors.php
View file @
fbc3a74
...
...
@@ -20,7 +20,7 @@ class Cors
->
header
(
'Access-Control-Allow-Origin'
,
$_SERVER
[
'HTTP_ORIGIN'
])
// Depending of your application you can't use '*'
// Some security CORS concerns
//
->header('Access-Control-Allow-Origin', '*')
->
header
(
'Access-Control-Allow-Origin'
,
'*'
)
->
header
(
'Access-Control-Allow-Methods'
,
'POST, OPTIONS'
)
->
header
(
'Access-Control-Allow-Credentials'
,
'true'
)
->
header
(
'Access-Control-Max-Age'
,
'10000'
)
...
...
Please
register
or
sign in
to post a comment