fix: add force-dynamic to prevent prerender errors
Some checks failed
Build & Deploy Dashboard / deploy (push) Failing after 31s
Some checks failed
Build & Deploy Dashboard / deploy (push) Failing after 31s
This commit is contained in:
@@ -3,7 +3,7 @@ FROM node:20-alpine AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN --mount=type=cache,target=/root/.npm \
|
RUN --mount=type=cache,target=/root/.npm \
|
||||||
npm ci --prefer-offline
|
npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV NEXTAUTH_SECRET=digital-home-jwt-secret-2026-cosmo
|
ENV NEXTAUTH_SECRET=digital-home-jwt-secret-2026-cosmo
|
||||||
ENV NEXTAUTH_URL=https://home.digital-home.site
|
ENV NEXTAUTH_URL=https://home.digital-home.site
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
export default function BookmarksPage() {
|
export default function BookmarksPage() {
|
||||||
const categories = [
|
const categories = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
import { WeatherWidget } from "@/components/widgets/WeatherWidget";
|
import { WeatherWidget } from "@/components/widgets/WeatherWidget";
|
||||||
import { CalendarWidget } from "@/components/widgets/CalendarWidget";
|
import { CalendarWidget } from "@/components/widgets/CalendarWidget";
|
||||||
import { ClaudeUsageWidget } from "@/components/widgets/ClaudeUsageWidget";
|
import { ClaudeUsageWidget } from "@/components/widgets/ClaudeUsageWidget";
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
import { useState, useEffect, useCallback } from "react";
|
import { useState, useEffect, useCallback } from "react";
|
||||||
import { Cpu, MemoryStick, HardDrive, Clock, RefreshCw, Wifi, Activity } from "lucide-react";
|
import { Cpu, MemoryStick, HardDrive, Clock, RefreshCw, Wifi, Activity } from "lucide-react";
|
||||||
|
|||||||
Reference in New Issue
Block a user