mirror of
https://github.com/starshardstudio/peafowl.git
synced 2024-11-23 05:24:19 +00:00
parent
09041183ca
commit
df9d2d4262
1 changed files with 5 additions and 1 deletions
6
_run.ts
6
_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
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue