You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a backport of commit 2485653 from #70
> 1. Point CDN links directly to https://code.jquery.com.
> 2. Add a separate helper for non-SRI CDN links. This is mostly used for CSS
> which, in theory, could also have SRI applied but that would require changes to
> the SRI plugin so we're leaving CSS without SRI for now.
> 3. Add config-sample.json with the new required cdn_origin field.
> Defined in infra as of jquery/infrastructure@ffa44e60b4.
Differences:
* The change to use a `/git` directory for Git files was not included in this
backport, as doing so would break the current code.jquery.com site.
We can either take the two lines of Nginx config from the new releases-jq
site and apply to the old codeorigin-jq in Puppet first, and thus use /git/
on both sites before the transition starts; or we can instead apply the old
Nginx config for the top-level files also to releases-jq and perform the
adoption of /git/ in the WordPress pages after the transition.
Either way could work.
For now, in the name of progress, this commit does neither. It backports
the known-safe part of the prep commit so that we can deploy and verify
the 'cdn_origin' config option, and the other template changes made by this
commit.
0 commit comments