Skip to content

Commit

Permalink
debug: Landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed Jul 3, 2024
1 parent 3b9d286 commit 98a6a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/landing-page/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import { vritePlugin } from "@vrite/sdk/astro";
import { loadEnv } from "vite";
import robotsTxt from "astro-robots-txt";

const { VRITE_ACCESS_TOKEN, VRITE_CONTENT_GROUP_ID } = loadEnv(
const { VRITE_ACCESS_TOKEN, VRITE_CONTENT_GROUP_ID, ...vars } = loadEnv(
import.meta.env.MODE,
process.cwd(),
""
);
console.log(VRITE_ACCESS_TOKEN, VRITE_CONTENT_GROUP_ID, vars);

export default defineConfig({
integrations: [
Expand Down
1 change: 0 additions & 1 deletion apps/landing-page/src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { BaseHead, Header, Footer } from "#components/fragments";
import { getContentPieces, client } from "virtual:vrite";
import { format } from "date-fns";
console.log(client.getConfig());
const contentPieces = await getContentPieces({ limit: "all" });
const workspace = await client.workspace.get();
const contentPiecesByMonth = contentPieces.reduce((acc, contentPiece) => {
Expand Down

0 comments on commit 98a6a2f

Please sign in to comment.