diff --git a/zero.Api/ApiApplicationResolverHandler.cs b/zero.Api/ApiApplicationResolverHandler.cs index 9af07680..232c3ee2 100644 --- a/zero.Api/ApiApplicationResolverHandler.cs +++ b/zero.Api/ApiApplicationResolverHandler.cs @@ -22,15 +22,18 @@ public class ApiApplicationResolverHandler : IBackofficeApplicationResolverHandl return false; } - string appKey = context.Request.Path.Value.Substring(path.Length).TrimStart('/').Split('/').ElementAtOrDefault(1); + resolved = applications.FirstOrDefault(); + return resolved != null; - if (appKey.HasValue()) - { - resolved = applications.FirstOrDefault(x => x.Alias == appKey); - return resolved != null; - } + //string appKey = context.Request.Path.Value.Substring(path.Length).TrimStart('/').Split('/').ElementAtOrDefault(1); - resolved = null; - return false; + //if (appKey.HasValue()) + //{ + // resolved = applications.FirstOrDefault(x => x.Alias == appKey); + // return resolved != null; + //} + + //resolved = null; + //return false; } } \ No newline at end of file diff --git a/zero.Backoffice.UI/app/axios.config.ts b/zero.Backoffice.UI/app/axios.config.ts index 11442fb8..dd6cfc86 100644 --- a/zero.Backoffice.UI/app/axios.config.ts +++ b/zero.Backoffice.UI/app/axios.config.ts @@ -68,7 +68,7 @@ Axios.interceptors.request.use(config => } let locationQuery = Qs.parse(location.search.substring(1)); - let appKey = 'hofbauer'; + let appKey = 'system'; // set app key to system when required if (config.params['zero.system'] === true || locationQuery['zero.shared'] === "true") diff --git a/zero.Backoffice.UI/app/components/ui-thumbnail.vue b/zero.Backoffice.UI/app/components/ui-thumbnail.vue index a6ba9ba0..495c18dd 100644 --- a/zero.Backoffice.UI/app/components/ui-thumbnail.vue +++ b/zero.Backoffice.UI/app/components/ui-thumbnail.vue @@ -7,6 +7,7 @@