Skip to content

Commit f76423e

Browse files
committed
feat: added support for phpMyFAQ 4.2
# Conflicts: # package-lock.json # package.json
1 parent 1fa4f41 commit f76423e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export default function Home(): React.ReactElement {
4141

4242
const apiUrls: ApiUrls = {
4343
'4.0': 'https://raw.githubusercontent.com/thorsten/phpMyFAQ/4.0/docs/openapi.json',
44-
'4.1': 'https://raw.githubusercontent.com/thorsten/phpMyFAQ/main/docs/openapi.json',
44+
'4.1': 'https://raw.githubusercontent.com/thorsten/phpMyFAQ/4.1/docs/openapi.json',
45+
'4.2': 'https://raw.githubusercontent.com/thorsten/phpMyFAQ/main/docs/openapi.json',
4546
};
4647

4748
return (
@@ -56,7 +57,7 @@ export default function Home(): React.ReactElement {
5657
isDarkMode ? 'bg-gray-800 border-gray-700' : 'bg-white border-gray-200'
5758
} rounded-lg border shadow-lg overflow-hidden wrapper`}>
5859

59-
{/* Controls Header inside Swagger container */}
60+
{/* Controls Header inside the Swagger container */}
6061
<div className={`${
6162
isDarkMode ? 'bg-gray-700 border-gray-600' : 'bg-gray-50 border-gray-200'
6263
} mx-4 mt-4 mb-2 px-6 py-4 border rounded-lg flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4`}>
@@ -81,6 +82,7 @@ export default function Home(): React.ReactElement {
8182
>
8283
<option value="4.0">Version 4.0</option>
8384
<option value="4.1">Version 4.1</option>
85+
<option value="4.2">Version 4.2</option>
8486
</select>
8587
</div>
8688

0 commit comments

Comments
 (0)