Move websocket behind nginx, add nginx.conf, update README

This commit is contained in:
wiz committed 2019-08-22 05:25:29 +09:00
1 parent 9d2e4ee854
commit f0c3ac6b4c
3 files changed
+80 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import { Observable } from 'rxjs';
import { MemPoolService } from './mem-pool.service';
import { tap, retryWhen, delay } from 'rxjs/operators';
const WEB_SOCKET_URL = 'ws://' + document.location.hostname + ':8999';
const WEB_SOCKET_URL = 'ws://' + document.location.hostname + '/ws';
const API_BASE_URL = '/api/v1';
@Injectable({