baseUrl change config error appears #4073
Answered
by
slorber
KInGATiLLa
asked this question in
Q&A
-
Docusaurus version: 2.0.0-alpha.70 When I try to change baseUrl in config, then it doesn't correct render in production build serving from localhost. |
Beta Was this translation helpful? Give feedback.
Answered by
slorber
Jan 20, 2021
Replies: 1 comment
-
hi, if you use the baseurl setting you need to ensure the proper file-system tree on your local computer. If you use I can't help you more without seeing your source code and a live version of your failing deployment. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KInGATiLLa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,
if you use the baseurl setting you need to ensure the proper file-system tree on your local computer.
If you use
baseUrl: '/subpath/'
, then move thewebsite/build folder in
website/subpath
and serve thewebsite
folder.I can't help you more without seeing your source code and a live version of your failing deployment.