mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-12 14:57:13 +03:00
11 lines
338 B
C#
11 lines
338 B
C#
using DHT.Server.Service;
|
|
|
|
namespace DHT.Desktop.Server;
|
|
|
|
static class ServerConfiguration {
|
|
public static ushort Port { get; set; } = ServerUtils.FindAvailablePort(min: 50000, max: 60000);
|
|
public static string Token { get; set; } = ServerUtils.GenerateRandomToken(20);
|
|
|
|
public static string HttpHost => "http://127.0.0.1:" + Port;
|
|
}
|