make snapshots smaller and listen only to localhost

This commit is contained in:
HF 2022-01-17 15:39:15 +01:00
parent d3c9b96e6d
commit 91a71c79b2
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
export const WIDTH = 1024;
export const HEIGHT = 768;
export const WIDTH = 800;
export const HEIGHT = 600;
export const MAX_SCALE = 40; // 52 in log2
export const TILE_SIZE = 256;
export const TILE_ZOOM_LEVEL = 4;

View File

@ -169,7 +169,7 @@ class PPfunMatrixBridge {
async run() {
console.log('STARTING MATRIX CONNECTION');
await this.matrixBridge.run(this.port);
await this.matrixBridge.run(this.port, null, 'localhost');
console.log('STARTING PPFUN CONNECTION');
await this.ppfunSocket.run();
console.log('BRIDGE CONNECTED');