1771771771
Denoβ€’3y agoβ€’
7 replies
177177177

Can you make a fresh route detect, if it is being requested by `deno run`

Can you make a fresh route detect, if it is being requested by deno run like deno run https://localhost:3000/api/test
doing deno run https://localhost:3000/api/test on the fresh route gives me this error
>> deno run http://localhost:3000/api/test

error: The module's source code could not be parsed: Expected ';', '}' or <eof> at http://localhost:3000/api/test:1:11

  <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport...
Was this page helpful?