Enhance traffic control by dynamically detecting outgoing interface and updating iptables rules for upload and download traffic
This commit is contained in:
@@ -4,7 +4,7 @@ import 'package:waylume_server/core/utils.dart';
|
||||
|
||||
class ServerService {
|
||||
static Future<void> registerServer() async {
|
||||
String ip = await getWanIp();
|
||||
String ip = "${await getWanIp()}:${fromEnivronment("EXTERNAL_PORT") ?? "3000"}";
|
||||
|
||||
var existsCheck = await SUPABASE_CLIENT
|
||||
.from("waylume_servers")
|
||||
|
||||
Reference in New Issue
Block a user