标签: reactjs api redux
How the code looks.
And for some reason I get my react localhost:3000 and my api url in the response.
为什么?
答案 0 :(得分:0)
看起来您在 baseUrl 常量中遗漏了分号,因此它将其视为相对路径
baseUrl