Skip to content

Commit 905dace

Browse files
Include trailing / on /api/myip uri to avoid a pointless 301
1 parent b409a92 commit 905dace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fCraft/System/Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ public static string GetRandomString( int chars ) {
10871087
}
10881088

10891089

1090-
static readonly Uri IPCheckUri = new Uri("http://www.classicube.net/api/myip");
1090+
static readonly Uri IPCheckUri = new Uri("http://www.classicube.net/api/myip/");
10911091
const int IPCheckTimeout = 20000;
10921092

10931093

0 commit comments

Comments
 (0)