Improve ranking parsing
Improve Smash.gg parsing Fix useless stuff Fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user