krpeacock / auth-client-demo

Example demo of how to use https://www.npmjs.com/package/@dfinity/auth-client to make authenticated calls to an IC app
https://vasb2-4yaaa-aaaab-qadoa-cai.ic0.app/
74 stars 32 forks source link

Listen on externally accessible port #4

Open phkla1 opened 3 years ago

phkla1 commented 3 years ago

In testing II locally one would often want to test from another device on the same network. "localhost" is only accessible from the machine running auth-client. If it were possible to have the server listen (either as an option or simultaneously) on 0.0.0.0 (i.e. 0.0.0.0:8080 in this case) then it would be much easier to test with multiple devices and this would greatly improve testing productivity.