Compare commits

...

5 Commits

Author SHA1 Message Date
hamster1963
d06e1017d6 docs(env): remove NEXT_PUBLIC_BASE_PATH 2024-11-22 17:58:49 +08:00
hamster1963
d80a01caf8 update: v1.4.7 2024-11-22 17:57:06 +08:00
hamster1963
7eee205f51 fix(revert): remove basePath env 2024-11-22 17:56:50 +08:00
hamster1963
1b125ce0f8 update: v1.4.6-fix 2024-11-22 17:33:17 +08:00
hamster1963
6c7967fc9c fix(header): time opacity 2024-11-22 17:32:57 +08:00
5 changed files with 2 additions and 4 deletions

View File

@ -14,5 +14,4 @@ NEXT_PUBLIC_CustomTitle=NezhaDash
NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha. NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha.
NEXT_PUBLIC_Links="[{"link":"https://github.com/hamster1963/nezha-dash","name":"GitHub"},{"link":"https://buycoffee.top/coffee","name":"Buycoffee☕"}]" NEXT_PUBLIC_Links="[{"link":"https://github.com/hamster1963/nezha-dash","name":"GitHub"},{"link":"https://buycoffee.top/coffee","name":"Buycoffee☕"}]"
NEXT_PUBLIC_DisableIndex=false NEXT_PUBLIC_DisableIndex=false
NEXT_PUBLIC_BASE_PATH=/
NEXT_PUBLIC_ShowTagCount=false NEXT_PUBLIC_ShowTagCount=false

View File

@ -128,7 +128,7 @@ function Overview() {
{t("p_2390-2457_wherethetimeis")} {t("p_2390-2457_wherethetimeis")}
</p> </p>
{mouted ? ( {mouted ? (
<p className="opacity-1 text-sm font-medium">{timeString}</p> <p className="text-sm font-medium">{timeString}</p>
) : ( ) : (
<Skeleton className="h-[20px] w-[50px] rounded-[5px] bg-muted-foreground/10 animate-none"></Skeleton> <Skeleton className="h-[20px] w-[50px] rounded-[5px] bg-muted-foreground/10 animate-none"></Skeleton>
)} )}

BIN
bun.lockb

Binary file not shown.

View File

@ -23,7 +23,6 @@ const withPWA = withPWAInit({
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: "standalone", output: "standalone",
basePath: env("NEXT_PUBLIC_BASE_PATH") || "",
logging: { logging: {
fetches: { fetches: {
fullUrl: true, fullUrl: true,

View File

@ -1,6 +1,6 @@
{ {
"name": "nezha-dash", "name": "nezha-dash",
"version": "1.4.6", "version": "1.4.7",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3040", "dev": "next dev -p 3040",