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 @@ -

FAQs-xxxxx

+

FAQs

diff --git a/release_notes.md b/release_notes.md index 3919b7f94..4159cc333 100644 --- a/release_notes.md +++ b/release_notes.md @@ -3,7 +3,7 @@ ### Most recent changes at top of file ``` Date Commit Action -17/09/2021 e65cd51d Added props: webui_main_faq_external_link, default is obp static file: /mainFaq.html +17/09/2021 e65cd51d Added props: webui_main_faq_external_link, default is obp static file: /main-faq.html 09/09/2021 65952225 Added props: webui_support_email, default is contact@openbankproject.com 02/09/2021 a826d908 Renamed Web UI props: webui_post_user_invitation_privacy_conditions_value => webui_privacy_policy