mongodb default is now 127.0.0.1
This commit is contained in:
1 parent
7c19038c3c
commit
c7f0c661ed
3 files changed
+6
-4
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using Common;
|
||||
using Common.Utils;
|
||||
using HttpServer.Controllers;
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
|
||||
namespace HttpServer
|
||||
{
|
||||
@@ -23,6 +24,7 @@ namespace HttpServer
|
||||
AccountController.AddHandlers(app);
|
||||
ConfigController.AddHandlers(app);
|
||||
|
||||
app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot")) });
|
||||
app.UseMiddleware<RequestLoggingMiddleware>();
|
||||
c.Log($"HTTP server started on port 80 & 443"); // A lie
|
||||
app.Run();
|
||||
|
||||
Reference in new issue
Block a user