mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-16 09:49:49 +00:00
Fix: subdirectory deployment (#2205)
This commit is contained in:
parent
5f7891d8db
commit
b8eda91005
20 changed files with 42 additions and 41 deletions
|
@ -3,7 +3,7 @@ import useSWR from "swr";
|
|||
|
||||
export default function Ping({ group, service, style }) {
|
||||
const { t } = useTranslation();
|
||||
const { data, error } = useSWR(`/api/ping?${new URLSearchParams({ group, service }).toString()}`, {
|
||||
const { data, error } = useSWR(`api/ping?${new URLSearchParams({ group, service }).toString()}`, {
|
||||
refreshInterval: 30000
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue