From 5960e7d201f3aa3462eb7ca2766215358b12e3a3 Mon Sep 17 00:00:00 2001 From: matthewvukomanovic Date: Wed, 21 Feb 2018 23:00:46 +0800 Subject: [PATCH] =?UTF-8?q?Issue=20#29=20-=20Set=20all=20the=20resource=20?= =?UTF-8?q?values=20to=20being=20relative=20to=20./=20so=20th=E2=80=A6=20(?= =?UTF-8?q?#113)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Issue #29 - Set all the resource values to being relative to ./ so that base href will be followed correctly * Update the README.md file to include very simple instructions on how to set relative url for the app --- README.md | 5 +++++ .../ClientApp/app/change-password/change-password.html | 2 +- .../ClientApp/app/footer/footer.html | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e1f0904d..ef0fb06f 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,11 @@ The most relevant configuration entries are shown below. Make sure you make your - The rest of the configuration entries are all pretty much all UI strings. - Change them to localize or brand this utility to meet your needs +## Running as a sub application +To run as a sub application you need to modify the `base href="/"` value in the `wwwroot/index.html` file to be the base url for PassCore. For example you might have PassCore setup at /PassCore so you would put +``` + +``` ## Troubleshooting - If you find a HTTP Error 502.5 - Ensure you have installed [.NET Framework 4.6.1](https://www.microsoft.com/en-us/download/details.aspx?id=49982) or better diff --git a/src/Unosquare.PassCore.Web/ClientApp/app/change-password/change-password.html b/src/Unosquare.PassCore.Web/ClientApp/app/change-password/change-password.html index 879882a2..c57ad789 100644 --- a/src/Unosquare.PassCore.Web/ClientApp/app/change-password/change-password.html +++ b/src/Unosquare.PassCore.Web/ClientApp/app/change-password/change-password.html @@ -3,7 +3,7 @@

{{ViewOptions.changePasswordTitle}}

- Help + Help
diff --git a/src/Unosquare.PassCore.Web/ClientApp/app/footer/footer.html b/src/Unosquare.PassCore.Web/ClientApp/app/footer/footer.html index 06467861..499c30ca 100644 --- a/src/Unosquare.PassCore.Web/ClientApp/app/footer/footer.html +++ b/src/Unosquare.PassCore.Web/ClientApp/app/footer/footer.html @@ -2,13 +2,13 @@