mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Use private ip
This commit is contained in:
@@ -11,7 +11,7 @@ const uniq = require('lodash/uniq');
|
||||
const ms = require('ms');
|
||||
const debug = require('debug')('talk:config');
|
||||
|
||||
const localAddress = require('ip').address();
|
||||
const localAddress = require('ip').address('private');
|
||||
|
||||
//==============================================================================
|
||||
// CONFIG INITIALIZATION
|
||||
|
||||
@@ -2,6 +2,7 @@ module.exports = {
|
||||
'@tags': ['install'],
|
||||
|
||||
before: (client) => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user