Skip to content

Commit

Permalink
fix (deps): Convert public-ip to ESM import from CJS require statement
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienVesper committed Dec 31, 2021
1 parent a212f72 commit 031bd0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/ige.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Q = require('q');
const _ = require('lodash');
const publicIp = require('public-ip');
const publicIp = import('public-ip');
const OS = require('os');
const http = require('http');
const cluster = require('cluster');
Expand Down
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// var appInsights = require("applicationinsights");
// appInsights.setup("db8b2d10-212b-4e60-8af0-2482871ccf1d").start();
var net = require('net');
const publicIp = require('public-ip');
const publicIp = import('public-ip');
const express = require('express');
const helmet = require('helmet');
const path = require('path');
Expand Down
2 changes: 1 addition & 1 deletion src/game.js

Large diffs are not rendered by default.

0 comments on commit 031bd0a

Please sign in to comment.