New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove usage of unsecure proxy for now #8442
Conversation
@@ -85,7 +85,7 @@ const InputModalStepperProvider = ({ | |||
const { source } = file; | |||
|
|||
return axios | |||
.get(`${strapi.backendURL}/${pluginId}/proxy?url=${file.fileURL}`, { | |||
.get(file.fileURL, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need the Authorization headers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
1529b8a
to
fbf8313
Compare
Codecov Report
@@ Coverage Diff @@
## master #8442 +/- ##
=======================================
Coverage 33.26% 33.26%
=======================================
Files 1221 1221
Lines 13629 13629
Branches 1357 1357
=======================================
Hits 4534 4534
Misses 8211 8211
Partials 884 884
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: Alexandre Bodin bodin.alex@gmail.com
What does it do?
Describe the technical changes you did.
Why is it needed?
Describe the issue you are solving.
Related issue(s)/PR(s)
Let us know if this is related to any issue/pull request