React Router - Content Security Policy directive: "default-src 'self'

前端 未结 4 2039
自闭症患者
自闭症患者 2021-01-16 05:25

I\'m testing out react router and I created 2 dummy components. The home path works fine, but when I try to go to the /second path, it gives the following erro

4条回答
  •  無奈伤痛
    2021-01-16 05:52

    I solve the error by changing the imported COM's name because I use the WebRTCChane and the WebRTC, this two COM has a similar name, after changing it, I successfully compile.

提交回复
热议问题