Skip to content

Commit

Permalink
move static file routing
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjofrank committed May 29, 2024
1 parent a9f5322 commit 1c1a6af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
19 changes: 0 additions & 19 deletions client/src/util/routeStaticFilesFrom.ts

This file was deleted.

4 changes: 2 additions & 2 deletions server/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Application } from "jsr:@oak/oak/application";
import { Router } from "jsr:@oak/oak/router";
import routeStaticFilesFrom from "../client/src/util/routeStaticFilesFrom.ts";
import routeStaticFilesFrom from "./util/routeStaticFilesFrom.ts";
import getSampleCode from "./commands/getSampleCode.ts";
import deployProject from "./commands/deployProject.ts";
import getDeployment from "./commands/getDeployment.ts";
Expand All @@ -21,4 +21,4 @@ app.use(routeStaticFilesFrom([

if (import.meta.main) {
await app.listen({ port: 8000 });
}
}

1 comment on commit 1c1a6af

@deno-deploy
Copy link
Contributor

@deno-deploy deno-deploy bot commented on 1c1a6af May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/server/util/routeStaticFilesFrom.ts".

Please sign in to comment.