Get Default Gateway in Web Application

Hey folks, We have a requirement to obtain the device’s default gateway, but a lot of the solutions I’ve run into require server side action. For example, we had an initial thought to use an npm package called ‘default-gateway’ (Which is actually included in the node modules in widget generation), but using this and some other solutions result in runtime errors thrown for dependencies that seem to only be available on the server and not supported by the client. I was wondering if any of you have run into this need before, and if so how you approached it? Any advice would help! Below are the errors we were getting for the server side processes:
1 answers

I am not sure if that is possible, however this article may give some pointers: