There appears to be a problem, I guess the function wants to return a response:
Create valreturn new Response(story.title, {status:200})```
Good catch, thanks! I fixed it
Awesome script 👍
https://stevekrouse-hntopstory.web.val.run
https://esm.town/v/stevekrouse/hnTopStory
<script type="module" src="https://esm.town/v/stevekrouse/hnTopStory" />
There appears to be a problem, I guess the function wants to return a response:
Good catch, thanks! I fixed it
Awesome script 👍