make snapshots smaller and listen only to localhost
This commit is contained in:
parent
d3c9b96e6d
commit
91a71c79b2
|
@ -1,5 +1,5 @@
|
||||||
export const WIDTH = 1024;
|
export const WIDTH = 800;
|
||||||
export const HEIGHT = 768;
|
export const HEIGHT = 600;
|
||||||
export const MAX_SCALE = 40; // 52 in log2
|
export const MAX_SCALE = 40; // 52 in log2
|
||||||
export const TILE_SIZE = 256;
|
export const TILE_SIZE = 256;
|
||||||
export const TILE_ZOOM_LEVEL = 4;
|
export const TILE_ZOOM_LEVEL = 4;
|
||||||
|
|
|
@ -169,7 +169,7 @@ class PPfunMatrixBridge {
|
||||||
|
|
||||||
async run() {
|
async run() {
|
||||||
console.log('STARTING MATRIX CONNECTION');
|
console.log('STARTING MATRIX CONNECTION');
|
||||||
await this.matrixBridge.run(this.port);
|
await this.matrixBridge.run(this.port, null, 'localhost');
|
||||||
console.log('STARTING PPFUN CONNECTION');
|
console.log('STARTING PPFUN CONNECTION');
|
||||||
await this.ppfunSocket.run();
|
await this.ppfunSocket.run();
|
||||||
console.log('BRIDGE CONNECTED');
|
console.log('BRIDGE CONNECTED');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user