Server middleware only on Deno Deploy? #315
-
|
I see that on_demand only works on Deno Deploy. By looking at the code I see it relies on server and http modules but nothing specific to Deno Deploy. Does it really only work on Deno Deploy and what prevents it from running the server on any other deno server runtime? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Ok, maybe the message is not correct. It only works on Deno runtimes. In fact, it works better in Deno CLI than Deno Deploy (Deno Deploy has some limitations like not supporting dynamic imports). Besides Deno Deploy, I don't know any hosting service providing a Deno environment, so this is why I added this warning. |
Beta Was this translation helpful? Give feedback.
Ok, maybe the message is not correct. It only works on Deno runtimes. In fact, it works better in Deno CLI than Deno Deploy (Deno Deploy has some limitations like not supporting dynamic imports).
Besides Deno Deploy, I don't know any hosting service providing a Deno environment, so this is why I added this warning.