Skip to content

Commit

Permalink
🐛 Kunne ikke se preview av mønster forside (#2449)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh authored Nov 2, 2023
1 parent baac9cc commit 5a649d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/api/preview.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { NextApiRequest, NextApiResponse } from "next";
import { createClient } from "next-sanity";
import { clientConfig } from "../../sanity/config";
import type { NextApiRequest, NextApiResponse } from "next";

const previewClient = createClient({
...clientConfig,
Expand All @@ -23,6 +23,7 @@ const landingPages = [
"god-praksis",
"produktbloggen",
"prinsipper",
"monster-maler",
];

export default async function preview(
Expand Down

0 comments on commit 5a649d2

Please sign in to comment.