Browse Source

custom app port of 8777

pull/63/head
Duke Leto 5 years ago
parent
commit
913e65f847
  1. 4
      src/mainwindow.cpp
  2. 2
      src/websockets.cpp

4
src/mainwindow.cpp

@ -137,9 +137,9 @@ MainWindow::MainWindow(QWidget *parent) :
}
void MainWindow::createWebsocket(QString wormholecode) {
qDebug() << "Listening for app connections on port 8237";
qDebug() << "Listening for app connections on port 8777";
// Create the websocket server, for listening to direct connections
wsserver = new WSServer(8237, false, this);
wsserver = new WSServer(8777, false, this);
if (!wormholecode.isEmpty()) {
// Connect to the wormhole service

2
src/websockets.cpp

@ -321,7 +321,7 @@ void AppDataServer::updateUIWithNewQRCode(MainWindow* mainwindow) {
if (ipv4Addr.isEmpty())
return;
QString uri = "ws://" + ipv4Addr + ":8237";
QString uri = "ws://" + ipv4Addr + ":8777";
// Get a new secret
unsigned char* secretBin = new unsigned char[crypto_secretbox_KEYBYTES];

Loading…
Cancel
Save