Replies: 1 comment 1 reply
-
You don't have to if you validate the environment variable as a number, then AdonisJS will convert it to a number from a string representation of a number. https://docs.adonisjs.com/guides/environment-variables#envschemanumber |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i'm hosting an Adonis api server on IIS with iisnode.
Iisnode uses pipe ports, which are strings, to proxy connections. In order for this to work, I always have to edit this line:
core/src/Ignitor/HttpServer/index.ts
Line 161 in f8ce27f
Of course it's really bad approach, but I wonder if the cast is really needed. Can it be possible that this will be removed in future releases?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions