mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
More demo work, unintresting stuff
This commit is contained in:
parent
e2ed651487
commit
85aa5ae16f
2 changed files with 32 additions and 17 deletions
|
@ -445,22 +445,27 @@ namespace Ombi.Helpers
|
|||
"Zootopia",
|
||||
"Zorro the Avenger",
|
||||
"Iron Man",
|
||||
"Hulk",
|
||||
"Thor",
|
||||
"Avengers",
|
||||
"Guardians of the Galaxy",
|
||||
"Ant-Man",
|
||||
"Captain America",
|
||||
"Doctor Strange",
|
||||
"Guardians of the Galaxy",
|
||||
"Spider-Man",
|
||||
"Black Panther",
|
||||
"Marvel",
|
||||
"Spider Man",
|
||||
"SpiderMan",
|
||||
"Loki",
|
||||
"Winter Soldier",
|
||||
"Wanda"
|
||||
"Hulk",
|
||||
"Thor",
|
||||
"Avengers",
|
||||
"Guardians of the Galaxy",
|
||||
"Ant-Man",
|
||||
"Captain America",
|
||||
"Doctor Strange",
|
||||
"Guardians of the Galaxy",
|
||||
"Spider-Man",
|
||||
"Black Panther",
|
||||
"Marvel",
|
||||
"Spider Man",
|
||||
"SpiderMan",
|
||||
"Loki",
|
||||
"Winter Soldier",
|
||||
"Wanda",
|
||||
"Small Fry",
|
||||
"Rex",
|
||||
"Lamp life",
|
||||
"Toy",
|
||||
"Hawaiian"
|
||||
};
|
||||
}
|
||||
}
|
|
@ -82,7 +82,17 @@ namespace Ombi.Controllers.V1
|
|||
{
|
||||
var settings = await Ombi.GetSettingsAsync();
|
||||
|
||||
return new { Result = settings?.Wizard ?? false};
|
||||
return new { Result = settings?.Wizard ?? false };
|
||||
}
|
||||
|
||||
[ApiExplorerSettings(IgnoreApi = true)]
|
||||
[HttpGet("demo")]
|
||||
public IActionResult Demo()
|
||||
{
|
||||
var instance = DemoSingleton.Instance;
|
||||
|
||||
instance.Demo = !instance.Demo;
|
||||
return new OkResult();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue