Skip to content

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