How to test with https locally? #13
-
In order to secure my personal API, I'm using basic auth (i.e. just The question is, is it possible to run Denoflare with some dummy certificate at localhost? I know Deno is capable of this at least. As a workaround I could add some kind of a development flag to disable the path when testing locally. It's not a big deal either as the current setup is nice. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Not yet, but should be straightforward to add. Two new args to Would this work for you? |
Beta Was this translation helpful? Give feedback.
Not yet, but should be straightforward to add. Two new args to
serve
(and associated config properties) to specify the cert pem and the key pem if https is desired.Would this work for you?