Improve ranking parsing

Improve Smash.gg parsing
Fix useless stuff

Fix
This commit is contained in:
2022-03-21 01:10:48 +01:00
parent eb3eb3e779
commit 3a86fdbdf4
8 changed files with 23 additions and 108 deletions

View File

@@ -49,9 +49,9 @@ namespace LaDOSE.Api.Controllers
{
if (!String.IsNullOrEmpty(tournamentSlug))
{
var tournaments = await _service.GetSmashResult2(tournamentSlug);
return Ok(tournaments);
//var tournaments = await _service.GetSmashResult2(tournamentSlug);
return Ok();
//return Ok(tournaments);
}
return null;

View File

@@ -75,7 +75,6 @@ namespace LaDOSE.Api
options => options.UseMySql($"Server={MySqlServer};Database={MySqlDatabase};User={MySqlUser};Password={MySqlPassword};", // replace with your Connection String
mysqlOptions =>
{
mysqlOptions.ServerVersion(new Version(10, 1, 16), ServerType.MariaDb); // replace with your Server Version and Type
}
));
@@ -175,7 +174,7 @@ namespace LaDOSE.Api
{
app.UseDeveloperExceptionPage();
}
app.UseCors(x => x
//.AllowAnyOrigin()
.AllowAnyMethod()