Skip to content
Permalink
Browse files

Include trailing / on /api/myip uri to avoid a pointless 301

  • Loading branch information...
UnknownShadow200 committed May 17, 2017
1 parent b409a92 commit 905dace39aed44d498d8b7ec29d99ed6e18435f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 fCraft/System/Server.cs
@@ -1087,7 +1087,7 @@ static void CheckIdles(SchedulerTask task)
}


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


0 comments on commit 905dace

Please sign in to comment.
You can’t perform that action at this time.