Skip to content

Commit ac4bb95

Browse files
committed
Updated port to the new default public relay
Signed-off-by: Robert Gogete <gogeterobert@yahoo.com>
1 parent e9cd2c1 commit ac4bb95

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class FileClient implements IFileClient {
2424

2525
constructor(options: FileClientOptions = {}) {
2626
this.options = {
27-
peers: options.peers || ['http://nostalgiagame.go.ro:30876/gun'],
27+
peers: options.peers || ['http://nostalgiagame.go.ro:30878/gun'],
2828
namespace: options.namespace || 'dig-nat-tools',
2929
timeout: options.timeout || 30000
3030
};

src/registry/gun-registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class GunRegistry {
4747

4848
constructor(options: GunRegistryOptions = {}) {
4949
this.options = {
50-
peers: options.peers || ["http://nostalgiagame.go.ro:30876/gun"],
50+
peers: options.peers || ["http://nostalgiagame.go.ro:30878/gun"],
5151
namespace: options.namespace || "dig-nat-tools",
5252
forceOverride: options.forceOverride ?? true,
5353
overrideDelayMs: options.overrideDelayMs ?? 150,

src/relay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import http from 'http';
1212
* Options:
1313
* PORT: Set the port (default: 8765)
1414
*/
15-
const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 30877;
15+
const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 30878;
1616

1717
// Graceful shutdown handler
1818
async function gracefulShutdown(signal: string): Promise<void> {

0 commit comments

Comments
 (0)