Skip to content

Commit f0a46b3

Browse files
committed
Update API URLs in context files to point to the new repository structure
1 parent 3f45cf6 commit f0a46b3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/context/AddonsContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { createContext, FC, ReactNode, useContext } from 'react'
22
import { useQuery } from '@tanstack/react-query'
33
import { AddonsDataState } from '@/types'
44

5-
const jsonUrl = 'https://raw.githubusercontent.com/PentSec/MaddonsManager/API/API/Maddons.json'
6-
const baseUrl = 'https://raw.githubusercontent.com/PentSec/MaddonsManager/API/API/Addons'
5+
const jsonUrl = 'https://raw.githubusercontent.com/PentSec/API-MADDONS/main/API/Maddons.json'
6+
const baseUrl = 'https://raw.githubusercontent.com/PentSec/API-MADDONS/main/API/Addons'
77

88
interface AddonsContextValue {
99
data: AddonsDataState[]

src/context/ElvUIContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { createContext, useContext, FC, ReactNode } from 'react'
22
import { StringItems } from '@/types'
33
import { useQuery } from '@tanstack/react-query'
44

5-
const jsonUrl = 'https://raw.githubusercontent.com/PentSec/MaddonsManager/API/API/ElvUI.json'
6-
const baseUrl = 'https://raw.githubusercontent.com/PentSec/MaddonsManager/API/API/ElvUI'
5+
const jsonUrl = 'https://raw.githubusercontent.com/PentSec/API-MADDONS/main/API/ElvUI.json'
6+
const baseUrl = 'https://raw.githubusercontent.com/PentSec/API-MADDONS/main/API/ElvUI'
77

88
interface ElvUIContextValue {
99
data: StringItems[]

src/context/WeakAurasContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { createContext, FC, ReactNode, useContext } from 'react'
22
import { useQuery } from '@tanstack/react-query'
33
import { StringItems } from '@/types'
44

5-
const jsonUrl = 'https://raw.githubusercontent.com/PentSec/MaddonsManager/API/API/WeakAuras.json'
6-
const baseUrl = 'https://raw.githubusercontent.com/PentSec/MaddonsManager/API/API/WeakAuras'
5+
const jsonUrl = 'https://raw.githubusercontent.com/PentSec/API-MADDONS/main/API/WeakAuras.json'
6+
const baseUrl = 'https://raw.githubusercontent.com/PentSec/API-MADDONS/main/API/WeakAuras'
77

88
interface WeakAurasContextValue {
99
data: StringItems[]

0 commit comments

Comments
 (0)