Skip to content

Commit

Permalink
and update the module
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Dec 12, 2023
1 parent f09fad5 commit a7fd846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ exports.get_public_ip_async = async function () {
this.public_ip = null;

try {
this.stun = require('stun');
this.stun = require('@msimerson/stun');
}
catch (e) {
e.install = 'Please install stun: "npm install -g stun"';
Expand Down Expand Up @@ -313,7 +313,7 @@ exports.get_public_ip = async function (cb) {
nu.public_ip = null;

try {
nu.stun = require('stun');
nu.stun = require('@msimerson/stun');
}
catch (e) {
e.install = 'Please install stun: "npm install -g stun"';
Expand Down

0 comments on commit a7fd846

Please sign in to comment.