jamesknelson / create-react-blog

Start and deploy your own statically rendered blog with create-react-app
https://create-react-blog.netlify.com/
MIT License
550 stars 69 forks source link

need a baseUrl config #9

Closed wulucxy closed 5 years ago

wulucxy commented 5 years ago

@jamesknelson I have a problem with this project。

I have a public server,which I can only have the access to specific path。

for example:

the host is:www.xxx.yyy,my page need to be visited by www.xxx.yyy/qingtong/blog/。I pushed my build to the server。page will show just server render,when client begin to render,I only get the 404 page。

I think there need to be a baseUrl config,in my example,baseUrl is equal to /qingtong/blog/,so SSR and CSR will be equal to each other。

thanks for your work。

rique-dev commented 5 years ago

@wulucxy, I opened PR with fix. #10