fixed IPs back to local
This commit is contained in:
@@ -25,8 +25,8 @@ Console.WriteLine($"Kira created: {ToJsonString(kira)}");
|
||||
Console.WriteLine($"Test created: {ToJsonString(test)}");
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
// builder.WebHost.UseUrls("http://127.0.0.1:1337/");
|
||||
builder.WebHost.UseUrls("http://192.168.1.85:1337");
|
||||
builder.WebHost.UseUrls("http://127.0.0.1:1337/");
|
||||
// builder.WebHost.UseUrls("http://192.168.1.92:1337");
|
||||
builder.Services.AddSingleton(db);
|
||||
builder.Services.AddScoped<APIAuthService>();
|
||||
|
||||
@@ -88,9 +88,9 @@ partial class Program
|
||||
{
|
||||
// Set up listener
|
||||
using var listener = new HttpListener();
|
||||
listener.Prefixes.Add("http://localhost:8080/");
|
||||
listener.Prefixes.Add("http://127.0.0.1:8080/");
|
||||
listener.Start();
|
||||
Console.WriteLine("API Started: http://localhost:8080/");
|
||||
Console.WriteLine("API Started: http://127.0.0.1:8080/");
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user