diff options
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/pages/About.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/pages/Rules.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/pages/About.tsx b/frontend/src/pages/About.tsx index 42b1d1b..c0883eb 100644 --- a/frontend/src/pages/About.tsx +++ b/frontend/src/pages/About.tsx | |||
| @@ -11,7 +11,7 @@ const About: React.FC = () => { | |||
| 11 | const fetchReadme = async () => { | 11 | const fetchReadme = async () => { |
| 12 | try { | 12 | try { |
| 13 | const response = await fetch( | 13 | const response = await fetch( |
| 14 | 'https://raw.githubusercontent.com/pektezol/lphub/typescript/README.md' | 14 | 'https://raw.githubusercontent.com/pektezol/lphub/main/README.md' |
| 15 | ); | 15 | ); |
| 16 | if (!response.ok) { | 16 | if (!response.ok) { |
| 17 | throw new Error('Failed to fetch README'); | 17 | throw new Error('Failed to fetch README'); |
diff --git a/frontend/src/pages/Rules.tsx b/frontend/src/pages/Rules.tsx index 6a91123..340a9f6 100644 --- a/frontend/src/pages/Rules.tsx +++ b/frontend/src/pages/Rules.tsx | |||
| @@ -11,7 +11,7 @@ const Rules: React.FC = () => { | |||
| 11 | const fetchRules = async () => { | 11 | const fetchRules = async () => { |
| 12 | try { | 12 | try { |
| 13 | const response = await fetch( | 13 | const response = await fetch( |
| 14 | 'https://raw.githubusercontent.com/pektezol/lphub/typescript/RULES.md' | 14 | 'https://raw.githubusercontent.com/pektezol/lphub/main/RULES.md' |
| 15 | ); | 15 | ); |
| 16 | if (!response.ok) { | 16 | if (!response.ok) { |
| 17 | throw new Error('Failed to fetch README'); | 17 | throw new Error('Failed to fetch README'); |