Fixed the UA check
This commit is contained in:
parent
34282f3222
commit
0e43dae3d1
1 changed files with 1 additions and 1 deletions
|
|
@ -1105,7 +1105,7 @@ public class OpdsController : BaseApiController
|
||||||
|
|
||||||
var userAgent = Request.Headers["User-Agent"].ToString();
|
var userAgent = Request.Headers["User-Agent"].ToString();
|
||||||
Console.WriteLine("User Agent: " + userAgent);
|
Console.WriteLine("User Agent: " + userAgent);
|
||||||
if (!userAgent.Equals("panels", StringComparison.InvariantCultureIgnoreCase))
|
if (!userAgent.Contains("panels", StringComparison.InvariantCultureIgnoreCase))
|
||||||
{
|
{
|
||||||
await _readerService.SaveReadingProgress(new ProgressDto()
|
await _readerService.SaveReadingProgress(new ProgressDto()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue