minor fix to routing
This commit is contained in:
@ -505,7 +505,7 @@ namespace Oqtane.Pages
|
|||||||
{
|
{
|
||||||
if (resource.Url.StartsWith("~"))
|
if (resource.Url.StartsWith("~"))
|
||||||
{
|
{
|
||||||
resource.Url = resource.Url.Replace("~", "/Themes/" + name + "/").Replace("//", "/");
|
resource.Url = resource.Url.Replace("~", "/Themes/" + Utilities.GetTypeName(name) + "/").Replace("//", "/");
|
||||||
}
|
}
|
||||||
if (!resource.Url.Contains("://") && alias.BaseUrl != "" && !resource.Url.StartsWith(alias.BaseUrl))
|
if (!resource.Url.Contains("://") && alias.BaseUrl != "" && !resource.Url.StartsWith(alias.BaseUrl))
|
||||||
{
|
{
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
"Runtime": "Server",
|
"Runtime": "Server",
|
||||||
"RenderMode": "ServerPrerendered",
|
"RenderMode": "ServerPrerendered",
|
||||||
"Database": {
|
"Database": {
|
||||||
"DefaultDBType": ""
|
"DefaultDBType": "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer"
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"DefaultConnection": ""
|
"DefaultConnection": "Data Source=pmc-sql.database.windows.net;Initial Catalog=pmc-cart-dev-sqldb;User ID=sql-dev-pmc;Password=1PwdCartCode!;Encrypt=false;TrustServerCertificate=false;"
|
||||||
},
|
},
|
||||||
"Installation": {
|
"Installation": {
|
||||||
"DefaultAlias": "",
|
"DefaultAlias": "",
|
||||||
@ -54,5 +54,6 @@
|
|||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Default": "Information"
|
"Default": "Information"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"InstallationId": "c6f298a3-7a64-419e-89ca-4d73946a53fe"
|
||||||
}
|
}
|
Reference in New Issue
Block a user