constants: Move URLs to constants
Fixes #1923 This moves all URLs from code to constants.
This commit is contained in:
parent
bb91840eef
commit
e9d28498e1
26 changed files with 146 additions and 68 deletions
|
|
@ -84,8 +84,8 @@ const Packages = () => {
|
|||
// select the correct version of EPEL repository
|
||||
// the urls are copied over from the content service
|
||||
const epelRepoUrlByDistribution = distribution.startsWith('rhel-8')
|
||||
? 'https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/'
|
||||
: 'https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/';
|
||||
? EPEL_8_REPO_DEFINITION.url
|
||||
: EPEL_9_REPO_DEFINITION.url;
|
||||
|
||||
const { data: epelRepo, isSuccess: isSuccessEpelRepo } =
|
||||
useListRepositoriesQuery({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue