fix: explicit SshApp[] and Tunnel[] types to fix Vercel build
This commit is contained in:
parent
83fa93f7b7
commit
326e0e266e
@ -1,11 +1,11 @@
|
||||
import { listAccessApps, filterSshApps } from "@/lib/cloudflare";
|
||||
import { listAccessApps, filterSshApps, type SshApp } from "@/lib/cloudflare";
|
||||
import Dashboard from "@/components/Dashboard";
|
||||
import { AlertTriangle } from "lucide-react";
|
||||
|
||||
export const revalidate = 60;
|
||||
|
||||
export default async function Home() {
|
||||
let apps;
|
||||
let apps: SshApp[] = [];
|
||||
let error: string | null = null;
|
||||
|
||||
try {
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import { listTunnels } from "@/lib/cloudflare";
|
||||
import { listTunnels, type Tunnel } from "@/lib/cloudflare";
|
||||
import TunnelList from "@/components/TunnelList";
|
||||
import { AlertTriangle } from "lucide-react";
|
||||
|
||||
export const revalidate = 30;
|
||||
|
||||
export default async function TunnelsPage() {
|
||||
let tunnels;
|
||||
let tunnels: Tunnel[] = [];
|
||||
let error: string | null = null;
|
||||
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user