change the testhost port
This commit is contained in:
Родитель
20b8d7de6b
Коммит
a2aa1fee4e
|
@ -13,7 +13,7 @@ utility::string_t url;
|
|||
|
||||
void get_url(int argc, utility::char_t* argv[])
|
||||
{
|
||||
url = U("http://localhost:8081/");
|
||||
url = U("http://localhost:42524/");
|
||||
|
||||
for (int i = 0; i < argc; ++i)
|
||||
{
|
||||
|
|
|
@ -12,9 +12,9 @@ namespace SelfHost
|
|||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
using (WebApp.Start<Startup>("http://localhost:8081"))
|
||||
using (WebApp.Start<Startup>("http://localhost:42524"))
|
||||
{
|
||||
Console.WriteLine("Server running at http://localhost:8081/");
|
||||
Console.WriteLine("Server running at http://localhost:42524/");
|
||||
Thread.Sleep(args.Length > 0 ? int.Parse(args[0]) : Timeout.Infinite);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче