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
cce8685c
authored
2016-05-12 13:56:40 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
re
1 parent
b8548ea1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Http/Middleware/Cors.php
app/Http/Middleware/Cors.php
View file @
cce8685
...
...
@@ -19,6 +19,8 @@ class Cors
return
$next
(
$request
)
->
header
(
'Access-Control-Allow-Origin'
,
'http://contact.gotenzing.com'
)
->
header
(
'Access-Control-Allow-Methods'
,
'POST, GET, OPTIONS, PUT, DELETE'
)
->
header
(
'Access-Control-Allow-Headers'
,
'Content-Type, Accept, Authorization, X-Requested-With'
);
->
header
(
'Access-Control-Allow-Headers'
,
'Content-Type, Accept, Authorization, X-Requested-With'
)
->
header
(
'Content-type: text/html'
);
;
}
}
...
...
Please
register
or
sign in
to post a comment