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 })