Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Jul 14, 2023
1 parent 7b51d60 commit 3ffc2e4
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.*
!/.github
!/.gitignore
deno.lock
51 changes: 51 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions middleware_deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "https://deno.land/std@0.190.0/http/http_errors.ts";
export * from "https://deno.land/std@0.190.0/http/http_status.ts";
export * from "https://deno.land/std@0.194.0/http/http_errors.ts";
export * from "https://deno.land/std@0.194.0/http/http_status.ts";

export { Context } from "https://deno.land/x/composium@v0.0.8/mod.ts";
export { Context } from "https://deno.land/x/composium@v0.1.1/mod.ts";
2 changes: 1 addition & 1 deletion og_image_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export {
SvgCanvas,
} from "https://deno.land/x/skia_canvas@0.5.4/mod.ts";

export { parse } from "https://deno.land/x/std@0.190.0/path/mod.ts";
export { parse } from "https://deno.land/x/std@0.194.0/path/mod.ts";
3 changes: 1 addition & 2 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
createHandler,
createRoute,
fromFileUrl,
listen,
serveDir,
} from "./server_deps.ts";

Expand All @@ -27,4 +26,4 @@ const handler = createHandler(Context)(serveStaticRoute, serveOgImageRoute)(
identity,
)(identity);

await listen(handler)({ port: 8080 });
Deno.serve({ port: 8080 }, handler);
7 changes: 3 additions & 4 deletions server_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export {
Context,
createHandler,
createRoute,
listen,
} from "https://deno.land/x/composium@v0.0.8/mod.ts";
export { serveDir } from "https://deno.land/std@0.190.0/http/file_server.ts";
export { fromFileUrl } from "https://deno.land/std@0.190.0/path/mod.ts";
} from "https://deno.land/x/composium@v0.1.1/mod.ts";
export { serveDir } from "https://deno.land/std@0.194.0/http/file_server.ts";
export { fromFileUrl } from "https://deno.land/std@0.194.0/path/mod.ts";
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- favicon -->
<link
rel="icon"
href="https://dev.zaubrik.com/assets@v0.0.1/frontend/favicon/favicon.svg"
href="https://dev.zaubrik.com/assets@v0.0.3/logo/favicon/favicon.svg"
sizes="any"
type="image/svg+xml"
/>
Expand Down
2 changes: 1 addition & 1 deletion test_deps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assertEquals,
assertRejects,
} from "https://deno.land/std@0.190.0/testing/asserts.ts";
} from "https://deno.land/std@0.194.0/testing/asserts.ts";

export const connInfo = {
localAddr: { transport: "tcp" as const, hostname: "127.0.0.1", port: 8080 },
Expand Down

0 comments on commit 3ffc2e4

Please sign in to comment.