From df9d2d4262217167fd4b452aba553245c2c0f074 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 10 Oct 2024 02:20:31 +0200 Subject: [PATCH] Revert "Fully remove cms" This reverts commit 159da32f58e726ec89886c2adaa3d2691c713de0. --- _run.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_run.ts b/_run.ts index 9c13cc1..34deff4 100644 --- a/_run.ts +++ b/_run.ts @@ -1,6 +1,10 @@ import {default as site} from "./_config.ts" +import {default as cms} from "./_cms.ts" +import {default as adapter} from "lume/cms/adapters/lume.ts" + +const app = await adapter({site, cms}) Deno.serve({ port: 8080, - handler: site.fetch + handler: app.fetch })