From 252f1da79fbb6a4cc79434b2e459144d424b8bb0 Mon Sep 17 00:00:00 2001 From: asesidaa <1061472754@qq.com> Date: Mon, 1 Aug 2022 21:51:50 +0800 Subject: [PATCH] Update README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 3f575b8..3c3b653 100644 --- a/README.md +++ b/README.md @@ -196,3 +196,20 @@ If you want to use the interface besides localhost(127.0.0.1), change in appsett Notice that due to certificate issues, you need to use http for `BaseUrl` and when accessing the web page, otherwise it will show insecure or fail. If you really want https all along, make sure you have changed the `ServerIp` and have regenerated the certificate. + +# Relay server + +Relay server is simple, just run the executable. Default port is 3333, you can change it by provide a command line argument, e.g. + +``` +./GCRelayServer 12345 +``` + +In main server's config.json, change the following fields to specify the relay server: + +``` + "RelayServer": "127.0.0.1", // Server IP + "RelayPort": 3333, // Server port +``` + +Currently the server implementation only allow one matching at a time. Notice that if one matching ends abnormally, you will need to restart the main server.