Morska.Import.Standard refactored

This commit is contained in:
Michał Zieliński
2025-06-06 20:23:36 +02:00
parent a4d8622ace
commit b73adb4b17
12 changed files with 354 additions and 70 deletions

View File

@@ -125,7 +125,9 @@ app.Use(async (context, next) =>
if (token.Length > 0
&& !context.Request.Path.ToString().Contains("getForPowerBI")
&& !context.Request.Path.ToString().Contains("getConfiguration")
&& !context.Request.Path.ToString().Contains("DataInbox/Add"))
&& !context.Request.Path.ToString().Contains("DataInbox/Add")
&& !context.Request.Path.ToString().Contains("AddPluginName") // TODO: Remove this
&& !context.Request.Path.ToString().Contains("GetImportWorkers"))
{
var handler = new JwtSecurityTokenHandler();
var data = handler.ReadJwtToken(token.Split(' ')[1]);