mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 06:48:47 +00:00
Fix: subdirectory deployment (#2205)
This commit is contained in:
parent
5f7891d8db
commit
b8eda91005
20 changed files with 42 additions and 41 deletions
|
@ -10,7 +10,7 @@ export default function Version() {
|
|||
const revision = process.env.NEXT_PUBLIC_REVISION?.length ? process.env.NEXT_PUBLIC_REVISION : "dev";
|
||||
const version = process.env.NEXT_PUBLIC_VERSION?.length ? process.env.NEXT_PUBLIC_VERSION : "dev";
|
||||
|
||||
const { data: releaseData } = useSWR("/api/releases");
|
||||
const { data: releaseData } = useSWR("api/releases");
|
||||
|
||||
// use Intl.DateTimeFormat to format the date
|
||||
const formatDate = (date) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue