CSS separation, multi-tenancy fixes
This commit is contained in:
		| @ -23,9 +23,9 @@ namespace Oqtane.Repository | ||||
|             aliasname = accessor.HttpContext.Request.Host.Value; | ||||
|             string path = accessor.HttpContext.Request.Path.Value; | ||||
|             string[] segments = path.Split(new[] { '/' }, StringSplitOptions.RemoveEmptyEntries); | ||||
|             if (segments.Length > 0 && segments[0] == "api" && segments[1] != "~") | ||||
|             if (segments.Length > 1 && segments[1] == "api" && segments[0] != "~") | ||||
|             { | ||||
|                 aliasname += "/" + segments[1]; | ||||
|                 aliasname += "/" + segments[0]; | ||||
|             } | ||||
|             if (aliasname.EndsWith("/")) | ||||
|             { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker