mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
Compare commits
3 Commits
724d578119
...
2f04cceb1d
Author | SHA1 | Date | |
---|---|---|---|
|
2f04cceb1d | ||
|
724e76c815 | ||
|
10b3569e3a |
@ -16,13 +16,11 @@ export default function Footer() {
|
||||
>
|
||||
{t("a_303-585_GitHub")}
|
||||
</a>
|
||||
<a
|
||||
href={`https://github.com/hamster1963/nezha-dash/releases/tag/v${version}`}
|
||||
target="_blank"
|
||||
className="cursor-pointer font-normal underline decoration-yellow-500 hover:decoration-yellow-600 transition-colors decoration-2 underline-offset-2 dark:decoration-yellow-500/60 dark:hover:decoration-yellow-500/80"
|
||||
<p
|
||||
className="font-normal"
|
||||
>
|
||||
v{version}
|
||||
</a>
|
||||
{version}
|
||||
</p>
|
||||
</p>
|
||||
<section className="mt-1 flex items-center gap-2 text-[13px] font-light tracking-tight text-neutral-600/50 dark:text-neutral-300/50">
|
||||
{t("section_607-869_2020")}
|
||||
|
@ -1,6 +1,8 @@
|
||||
import ServerList from "@/components/ServerList";
|
||||
import ServerOverview from "@/components/ServerOverview";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
export default async function Home() {
|
||||
return (
|
||||
<div className="mx-auto grid w-full max-w-5xl gap-4 md:gap-6">
|
||||
|
@ -7,6 +7,8 @@ import TabSwitch from "@/components/TabSwitch";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import { use, useState } from "react";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
export default function Page(props: { params: Promise<{ id: string }> }) {
|
||||
const params = use(props.params);
|
||||
const tabs = ["Detail", "Network"];
|
||||
|
@ -1,3 +1,5 @@
|
||||
import { handlers } from "@/auth";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
export const { GET, POST } = handlers;
|
||||
|
@ -6,6 +6,8 @@ import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
interface ResError extends Error {
|
||||
statusCode: number;
|
||||
message: string;
|
||||
|
@ -6,6 +6,8 @@ import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
interface ResError extends Error {
|
||||
statusCode: number;
|
||||
message: string;
|
||||
|
@ -6,6 +6,8 @@ import { NextResponse } from "next/server";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
interface ResError extends Error {
|
||||
statusCode: number;
|
||||
message: string;
|
||||
|
@ -15,6 +15,8 @@ import { ThemeProvider } from "next-themes";
|
||||
import { Inter as FontSans } from "next/font/google";
|
||||
import React from "react";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
const fontSans = FontSans({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-sans",
|
||||
|
@ -4,6 +4,8 @@ import Link from "next/link";
|
||||
import Footer from "./(main)/footer";
|
||||
import Header from "./(main)/header";
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
export default function NotFoundPage() {
|
||||
const t = useTranslations("NotFoundPage");
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nezha-dash",
|
||||
"version": "1.7.5",
|
||||
"version": "v0-Cloudflare-Final",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack -p 3040",
|
||||
@ -51,7 +51,7 @@
|
||||
"react-wrap-balancer": "^1.1.1",
|
||||
"recharts": "^2.14.1",
|
||||
"sharp": "^0.33.5",
|
||||
"swr": "^2.2.6-beta.4",
|
||||
"swr": "^2.2.6-beta.5",
|
||||
"tailwind-merge": "^2.5.5",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript-eslint": "^8.17.0"
|
||||
|
Loading…
Reference in New Issue
Block a user