diff --git a/obp-api/src/main/resources/props/sample.props.template b/obp-api/src/main/resources/props/sample.props.template index 039fc9e93..2cd0951af 100644 --- a/obp-api/src/main/resources/props/sample.props.template +++ b/obp-api/src/main/resources/props/sample.props.template @@ -423,7 +423,7 @@ webui_sdks_url = https://github.com/OpenBankProject/OBP-API/wiki/OAuth-Client-SD # the external html page for the FAQ section. the default link is the obp one. Please following the div to modify it. This link should be anonymous access. # then OBP-API can show the content to the HomePage `FAQs`. Please check it over the sandbox homepage first. -#webui_main_faq_external_link = /mainFaq.html +#webui_main_faq_external_link = /main-faq.html # Text about data in FAQ webui_faq_data_text = We use real data and customer profiles which have been anonymized. diff --git a/obp-api/src/main/scala/code/snippet/WebUI.scala b/obp-api/src/main/scala/code/snippet/WebUI.scala index 165c526df..df1722300 100644 --- a/obp-api/src/main/scala/code/snippet/WebUI.scala +++ b/obp-api/src/main/scala/code/snippet/WebUI.scala @@ -146,9 +146,9 @@ class WebUI extends MdcLoggable{ val mainFaqHtmlContent = try{ if (mainFaqHtmlLink.isEmpty)//If the webui_featured_sdks_external_link is not set, we will read the internal sdks.html file instead. - LiftRules.getResource("/mainFaq.html").map{ url => + LiftRules.getResource("/main-faq.html").map{ url => Source.fromURL(url, "UTF-8").mkString - }.openOrThrowException("Please check the content of this file: src/main/webapp/mainFaq.html") + }.openOrThrowException("Please check the content of this file: src/main/webapp/main-faq.html") else Source.fromURL(sdksHtmlLink, "UTF-8").mkString }catch { diff --git a/obp-api/src/main/webapp/mainFaq.html b/obp-api/src/main/webapp/main-faq.html similarity index 99% rename from obp-api/src/main/webapp/mainFaq.html rename to obp-api/src/main/webapp/main-faq.html index 97737a6e1..769160174 100644 --- a/obp-api/src/main/webapp/mainFaq.html +++ b/obp-api/src/main/webapp/main-faq.html @@ -1,4 +1,4 @@ -