diff --git a/.drone.yml b/.drone.yml index 3d9cb9a..68fc3bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,8 @@ steps: project: samme entrypoint: server.ts production: true - include: dist,server.ts + include: dist,server.ts,deno.json + import_map: deno.json depends_on: - "Build site" when: diff --git a/server.ts b/server.ts index 8aa26f3..70cb8d2 100644 --- a/server.ts +++ b/server.ts @@ -1,6 +1,6 @@ -import Server from "https://deno.land/x/lume@v1.15.2/core/server.ts" -import expires from "https://deno.land/x/lume@v1.15.2/middlewares/expires.ts" -import not_found from "https://deno.land/x/lume@v1.15.2/middlewares/not_found.ts" +import Server from "lume/core/server.ts" +import expires from "lume/middlewares/expires.ts" +import not_found from "lume/middlewares/not_found.ts" const port = 8000