Commit 18ca23ec authored by Krishna Reddy Tamatam's avatar Krishna Reddy Tamatam

Changed Program.cs for To run on production port

parent 9ee0ab0d
...@@ -132,21 +132,21 @@ app.UseEndpoints(endpoints => ...@@ -132,21 +132,21 @@ app.UseEndpoints(endpoints =>
// }); // });
// }); // });
if (app.Environment.IsDevelopment())
{
app.Run("http://localhost:5603");
}
else
{
app.Run();
}
// if (app.Environment.IsDevelopment()) // if (app.Environment.IsDevelopment())
// { // {
// app.Run("http://localhost:5603"); // app.Run("http://localhost:5603");
// } // }
// else // else
// { // {
// app.Run("http://*:4708"); // app.Run();
// } // }
if (app.Environment.IsDevelopment())
{
app.Run("http://localhost:5603");
}
else
{
app.Run("http://*:4708");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment