mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 00:22:56 -05:00
Update index.tsx
This commit is contained in:
committed by
GitHub
parent
52416dfdd7
commit
56a0468a53
@@ -76,7 +76,7 @@ export const OfflineUpdate = ({ setIsLocked }: UpdateProps) => {
|
||||
const formData = new FormData();
|
||||
formData.append("file", file);
|
||||
|
||||
fetch("/api/download/file", {
|
||||
fetch("/api/application/uploadupdate", {
|
||||
method: "POST",
|
||||
body: formData,
|
||||
})
|
||||
@@ -104,7 +104,7 @@ export const OfflineUpdate = ({ setIsLocked }: UpdateProps) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="text-base font-bold">{t('settings.offlineupdate.title')}</div>
|
||||
<div className="text-base font-bold">{t('settings.offlineupdate.title') + ", " + t('settings.offlineupdate.version') + ": " + currentVersion}</div>
|
||||
|
||||
<div className="my-[20px] h-px bg-neutral-500/10" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user