Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
c0393383
Commit
c0393383
authored
Jun 01, 2016
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: CORS is enabled by default
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
parent
b21044fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
test/sharness/t0112-gateway-cors.sh
test/sharness/t0112-gateway-cors.sh
+0
-4
No files found.
test/sharness/t0112-gateway-cors.sh
View file @
c0393383
...
...
@@ -7,10 +7,6 @@
test_description
=
"Test HTTP Gateway CORS Support"
test_config_ipfs_cors_headers
()
{
ipfs config
--json
Gateway.HTTPHeaders.Access-Control-Allow-Origin
'["*"]'
ipfs config
--json
Gateway.HTTPHeaders.Access-Control-Allow-Methods
'["PUT", "GET", "POST"]'
ipfs config
--json
Gateway.HTTPHeaders.Access-Control-Allow-Headers
'["X-Requested-With"]'
ipfs config
--json
API.HTTPHeaders.Access-Control-Allow-Origin
'["*"]'
ipfs config
--json
API.HTTPHeaders.Access-Control-Allow-Methods
'["PUT", "GET", "POST"]'
ipfs config
--json
API.HTTPHeaders.Access-Control-Allow-Headers
'["X-Requested-With"]'
...
...
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