回答編集履歴
1
環境変数の定義が間違っていた
answer
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
const client = axios.create({
|
|
9
|
-
baseURL: process.env.
|
|
9
|
+
baseURL: process.env.REACT_APP_API_URL
|
|
10
10
|
})
|
|
11
11
|
client.get('/api/article/' + this.props.match.params.id)
|
|
12
12
|
.then(response => {
|