mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fetch Firefox from JSON source instead of RegExp (#5864)
Fetch Firefox from https://product-details.mozilla.org/1.0/firefox_versions.json. Fixes #5742.
This commit is contained in:
committed by
GitHub
parent
69c38fc2d0
commit
b510c354c7
@@ -40,10 +40,10 @@ const downloadURLs = {
|
||||
win64: '%s/chromium-browser-snapshots/Win_x64/%d/%s.zip',
|
||||
},
|
||||
firefox: {
|
||||
linux: '%s/firefox-%s.0a1.en-US.%s-x86_64.tar.bz2',
|
||||
mac: '%s/firefox-%s.0a1.en-US.%s.dmg',
|
||||
win32: '%s/firefox-%s.0a1.en-US.%s.zip',
|
||||
win64: '%s/firefox-%s.0a1.en-US.%s.zip',
|
||||
linux: '%s/firefox-%s.en-US.%s-x86_64.tar.bz2',
|
||||
mac: '%s/firefox-%s.en-US.%s.dmg',
|
||||
win32: '%s/firefox-%s.en-US.%s.zip',
|
||||
win64: '%s/firefox-%s.en-US.%s.zip',
|
||||
},
|
||||
} as const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user