Browse Source

Fixed stupid bug in loading personalized tasks.json

mj-deploy
Standa Lukeš 4 years ago
parent
commit
9c6872e49e
  1. 2
      server/Ksp.WebServer/Controllers/TasksController.cs

2
server/Ksp.WebServer/Controllers/TasksController.cs

@ -43,7 +43,7 @@ namespace Ksp.WebServer.Controllers
file ??= TasksJsonFile("");
return this.PhysicalFile(TasksJsonFile(""), "text/json");
return this.PhysicalFile(file, "text/json");
}
[HttpPost]