docs: #292 bug fix
This commit is contained in:
parent
57e9425d91
commit
a7029a19dd
@ -543,7 +543,10 @@ namespace GanjooRazor.Pages
|
|||||||
return Page();
|
return Page();
|
||||||
}
|
}
|
||||||
GanjoorPage = JObject.Parse(await pageQuery.Content.ReadAsStringAsync()).ToObject<GanjoorPageCompleteViewModel>();
|
GanjoorPage = JObject.Parse(await pageQuery.Content.ReadAsStringAsync()).ToObject<GanjoorPageCompleteViewModel>();
|
||||||
GanjoorPage.HtmlText = GanjoorPage.HtmlText.Replace("https://ganjoor.net/", "/").Replace("http://ganjoor.net/", "/");
|
if(!string.IsNullOrEmpty(GanjoorPage.HtmlText))
|
||||||
|
{
|
||||||
|
GanjoorPage.HtmlText = GanjoorPage.HtmlText.Replace("https://ganjoor.net/", "/").Replace("http://ganjoor.net/", "/");
|
||||||
|
}
|
||||||
switch (GanjoorPage.GanjoorPageType)
|
switch (GanjoorPage.GanjoorPageType)
|
||||||
{
|
{
|
||||||
case GanjoorPageType.PoemPage:
|
case GanjoorPageType.PoemPage:
|
||||||
|
|||||||
@ -8,8 +8,8 @@
|
|||||||
},
|
},
|
||||||
"AllowedHosts": "*",
|
"AllowedHosts": "*",
|
||||||
"GoogleAnalyticsCode": "",
|
"GoogleAnalyticsCode": "",
|
||||||
"APIRoot": "http://localhost:3439",
|
"APIRoot": "https://api.ganjoor.net",
|
||||||
"GlobalAPIRoot": "http://localhost:3439",
|
"GlobalAPIRoot": "https://api.ganjoor.net",
|
||||||
"SiteUrl": "http://localhost:33081",
|
"SiteUrl": "http://localhost:33081",
|
||||||
"MockSpotify": "False",
|
"MockSpotify": "False",
|
||||||
"Spotify": {
|
"Spotify": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user