Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing failling template #4

Closed
wants to merge 2 commits into from
Closed

Conversation

zeachco
Copy link

@zeachco zeachco commented Mar 17, 2023

Fixing #3

Tested with

deno 1.31.3 (release, x86_64-apple-darwin)
v8 11.0.226.19
typescript 4.9.4

- targets a newer version of http/server
- changes `let` for `const`, variable is not to be reassigned
- removes console log as `serve` already prints `Listening on http://localhost:${ports}/`
- fixes serve that takes the handler as first param, then the port
deno <file.ts> does not work with newer versions of Deno
@zeachco
Copy link
Author

zeachco commented Dec 15, 2023

stale

@zeachco zeachco closed this Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant