Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit e58ba50

Browse files
jerolbafilipesilva
authored andcommitted
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.
1 parent d954c26 commit e58ba50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/ts/latest/guide/deployment.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ a#base-tag
316316
That's the root folder and you'd add `<base href="/">` near the top of `index.html` because `/` is the root of the app.
317317

318318
But on the shared or production server, you might serve the app from a subfolder.
319-
For example, when the URL to load the app is something like `http://www.mysite.com/mysrc/app/`,
319+
For example, when the URL to load the app is something like `http://www.mysite.com/my/app/`,
320320
the subfolder is `my/app/` and you should add `<base href="/my/app/">` to the server version of the `index.html`.
321321

322322
When the `base` tag is misconfigured, the app fails to load and the browser console displays `404 - Not Found` errors

0 commit comments

Comments
 (0)