Skip to content

Commit 926e67b

Browse files
authored
Update redirects from S3 to R2
1 parent c8238fb commit 926e67b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/gatsby-theme-iterative/src/utils/shared/redirects.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,37 +174,37 @@ describe('getRedirects', () => {
174174
describe('toS3', () => {
175175
itRedirects(
176176
'https://code.dvc.org/foo/bar',
177-
'https://s3-us-east-2.amazonaws.com/dvc-public/code/foo/bar',
177+
'https://r2.dvc.or/code/foo/bar',
178178
303
179179
)
180180

181181
itRedirects(
182182
'https://data.dvc.org/foo/bar',
183-
'https://s3-us-east-2.amazonaws.com/dvc-public/data/foo/bar',
183+
'https://r2.dvc.org/data/foo/bar',
184184
303
185185
)
186186

187187
itRedirects(
188188
'https://remote.dvc.org/foo/bar',
189-
'https://s3-us-east-2.amazonaws.com/dvc-public/remote/foo/bar',
189+
'https://r2.dvc.org/remote/foo/bar',
190190
303
191191
)
192192

193193
itRedirects(
194194
'/exe/foo',
195-
'https://s3-us-east-2.amazonaws.com/dvc-public/dvc-pkgs/exe/foo',
195+
'https://r2.dvc.org/dvc-pkgs/exe/foo',
196196
303
197197
)
198198

199199
itRedirects(
200200
'/deb/foo',
201-
'https://s3-us-east-2.amazonaws.com/dvc-s3-repo/deb/foo',
201+
'https://r2.dvc.org/dvc-pkgs/deb/foo',
202202
303
203203
)
204204

205205
itRedirects(
206206
'/rpm/foo',
207-
'https://s3-us-east-2.amazonaws.com/dvc-s3-repo/rpm/foo',
207+
'https://r2.dvc.org/dvc-pkgs/rpm/foo',
208208
303
209209
)
210210
})

0 commit comments

Comments
 (0)