質問編集履歴

2

試したことの内容を修正

2020/05/11 05:08

投稿

paccuman
paccuman

スコア13

test CHANGED
File without changes
test CHANGED
@@ -272,8 +272,16 @@
272
272
 
273
273
  [https://teratail.com/questions/225516](https://teratail.com/questions/225516)
274
274
 
275
+
276
+
277
+ ※もし、.envが不要であれば無視していただいて結構です。
278
+
279
+
280
+
275
281
  ```.env
276
282
 
283
+ //.envファイルの記述
284
+
277
285
  MONGODB_URI=mongodb://localhost:27017/hoge_db
278
286
 
279
287
  ```

1

タイトル名の修正

2020/05/11 05:08

投稿

paccuman
paccuman

スコア13

test CHANGED
@@ -1 +1 @@
1
- mongoDBに接続できない
1
+ herokuへデプロイ時にmongoDBに接続できない
test CHANGED
File without changes