-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addons: accept
project-slug
and version-slug
on endpoint
`/_/addons/` API endpoint now accepts `project-slug` and `version-slug`. This is useful to be able to cache these requests in our CDN. It still supports sending `url=` when necessary for those requests that relies on the full URL to generate specific data in the response. The NGINX config is updated to inject `meta` tags with project/version slugs, emulating what our CF worker does on production. Closes #10536
- Loading branch information
Showing
2 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters