Skip to content
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

Proxies all blob requests #141

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Conversation

simonbs
Copy link
Contributor

@simonbs simonbs commented Nov 8, 2023

With this we proxy all blob requests to GitHub. The benefit is that we hide GitHub's download URL from the user, meaning that users are no longer exposed to any GitHub URLs.

Furthermore, this PR moves the endpoint from /api/github/blob to /api/blob so we hide the fact that files are coming from GitHub.

This adds an extra layer of abstraction which feels safer when introducing guest users in #131.

@simonbs simonbs requested a review from ulrikandersen November 8, 2023 09:23
@simonbs simonbs self-assigned this Nov 8, 2023
@simonbs simonbs merged commit 4e59add into develop Nov 8, 2023
@simonbs simonbs deleted the enhancement/proxy-blob-requests branch November 8, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant