Closed fgnm closed 4 years ago
I have extended it. Try it $ npm install total.js@beta
.
Wow many thanks to be so fast!
It works, and METHOD
inside url is cool too, just a little advice: to get it working options.ip
have to be changed to localhost
, since IPs does not have subdomains (of course :smile: )
Thank you. And yes options.ip
must be set to localhost or some local domain. I wondered to disable it for IP addresses, but error is better than silent behaviour.
Hi, I would like to suggest an improvement of
TEST
method with subdomains using internal Total.js syntax. This is the route method:This is the
TEST
method I would use:The app is running in localhost so I could use
http://api.localhost:8000/v1/auth/sms
, but it would be nice to use[api]/v1/auth/sms
as url