-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1563c80
commit 3849fb9
Showing
5 changed files
with
112 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"tasks": { | ||
"dev": "deno run -A --watch ./main.ts" | ||
}, | ||
"imports": { | ||
"atom": "https://deno.land/x/atom/mod.ts" | ||
} | ||
"tasks": { | ||
"dev": "deno run -A --watch ./main.ts" | ||
}, | ||
"imports": { | ||
"atom": "../../atom/mod.ts" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import Atom from "@/mod.ts"; | ||
import Atom from "atom"; | ||
async function main() { | ||
await Atom.bootstrap({ | ||
routesPath: "example/routes", | ||
}); | ||
await Atom.bootstrap({ | ||
routesPath: "/routes", | ||
}); | ||
} | ||
|
||
main(); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { RequestHandler } from "atom"; | ||
|
||
const handler: RequestHandler = (req) => { | ||
return new Response(`Hello worlds your url is ${req.url} `); | ||
}; | ||
|
||
export const middlewares = []; | ||
|
||
export default handler; |