Skip to content

Commit 059ffae

Browse files
authored
Build: Update /mobile/git/ pattern to match legacy
Legacy config was changed to fix a bug [1]. That bug didn't apply here, but syncing for consistency. [1] jquery/infrastructure@4bf822d
1 parent f7b7ff7 commit 059ffae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cfg/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ server {
126126
# https://github.com/jquery/infrastructure/issues/474#issuecomment-844582865
127127
#
128128
location ~* -git\. { return 301 https://releases.jquery.com/git$uri; }
129-
location /mobile/git/ { return 301 https://releases.jquery.com/git$uri; }
129+
location ^~ /mobile/git/ { return 301 https://releases.jquery.com/git$uri; }
130130

131131
# New-style /git/ URLs as of March 2021
132132
#

0 commit comments

Comments
 (0)