Skip to content

Commit 117a2c1

Browse files
deploying to heroku
1 parent a3db905 commit 117a2c1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,5 @@ app.listen(process.env.PORT || 3000)
7878

7979
app.use((req, res)=>{
8080
res.render("404", { title: '404 Page not found'})
81-
})
81+
})
82+

models/code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ const codeSchema = mongoose.Schema({
1919
}
2020
}, { timestamps: true })
2121

22-
module.exports = mongoose.model('codeBoxes', codeSchema)
22+
module.exports = mongoose.model('codeboxes', codeSchema)

0 commit comments

Comments
 (0)