How to get current URL domain for react for server side rendering?

后端 未结 0 317
误落风尘
误落风尘 2020-12-11 01:11

How do you get the current URL domain for react for server side rendering? Since the window object isn\'t accessible during SSR. React router location only gives the pathnam

相关标签:
回答
  • 消灭零回复
提交回复
热议问题