docs(deployment): fix base tag subfolder example (#3296)

The sample url for production server is "http://www.mysite.com/mysrc/app/"
but the identified subfolder is "my/app", which doesn't match.
This commit is contained in:
Jeronimo López 2017-02-27 12:37:45 +01:00 committed by Filipe Silva
parent d954c263ca
commit e58ba502f2
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ a#base-tag
That's the root folder and you'd add `<base href="/">` near the top of `index.html` because `/` is the root of the app.
But on the shared or production server, you might serve the app from a subfolder.
For example, when the URL to load the app is something like `http://www.mysite.com/mysrc/app/`,
For example, when the URL to load the app is something like `http://www.mysite.com/my/app/`,
the subfolder is `my/app/` and you should add `<base href="/my/app/">` to the server version of the `index.html`.
When the `base` tag is misconfigured, the app fails to load and the browser console displays `404 - Not Found` errors