mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
ci: fix
This commit is contained in:
@@ -30,6 +30,7 @@ FROM base
|
|||||||
|
|
||||||
# Install required system dependencies
|
# Install required system dependencies
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
|
ca-certificates \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphicsmagick \
|
graphicsmagick \
|
||||||
openssl \
|
openssl \
|
||||||
|
|||||||
@@ -5,8 +5,10 @@ import { Card, CardDescription, CardTitle } from "@/components/ui/card"
|
|||||||
import { ColoredText } from "@/components/ui/colored-text"
|
import { ColoredText } from "@/components/ui/colored-text"
|
||||||
import config from "@/lib/config"
|
import config from "@/lib/config"
|
||||||
import { DEFAULT_CURRENCIES, DEFAULT_SETTINGS } from "@/models/defaults"
|
import { DEFAULT_CURRENCIES, DEFAULT_SETTINGS } from "@/models/defaults"
|
||||||
|
import { getSelfHostedUser } from "@/models/users"
|
||||||
import { ShieldAlert } from "lucide-react"
|
import { ShieldAlert } from "lucide-react"
|
||||||
import Image from "next/image"
|
import Image from "next/image"
|
||||||
|
import { redirect } from "next/navigation"
|
||||||
import { selfHostedGetStartedAction } from "../actions"
|
import { selfHostedGetStartedAction } from "../actions"
|
||||||
|
|
||||||
export default async function SelfHostedWelcomePage() {
|
export default async function SelfHostedWelcomePage() {
|
||||||
@@ -28,10 +30,10 @@ export default async function SelfHostedWelcomePage() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// const user = await getSelfHostedUser()
|
const user = await getSelfHostedUser()
|
||||||
// if (user) {
|
if (user) {
|
||||||
// redirect(config.selfHosted.redirectUrl)
|
redirect(config.selfHosted.redirectUrl)
|
||||||
// }
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className="w-full max-w-xl mx-auto p-8 flex flex-col items-center justify-center gap-4">
|
<Card className="w-full max-w-xl mx-auto p-8 flex flex-col items-center justify-center gap-4">
|
||||||
@@ -75,3 +77,5 @@ export default async function SelfHostedWelcomePage() {
|
|||||||
</Card>
|
</Card>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dynamic = "force-dynamic"
|
||||||
|
|||||||
@@ -14,3 +14,5 @@ export default async function Home() {
|
|||||||
|
|
||||||
redirect("/dashboard")
|
redirect("/dashboard")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dynamic = "force-dynamic"
|
||||||
|
|||||||
Reference in New Issue
Block a user