Toggle navigation
Toggle navigation
This project
Loading...
Sign in
공태현
/
healthcare-with-webcam
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
공태현
2022-06-09 15:25:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c548257742b03370bea812edf0a7bef99599b68
8c548257
1 parent
26302a7c
Delete Mongoose my-Key
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server.js
server.js
View file @
8c54825
...
...
@@ -16,7 +16,7 @@ app.engine('html',ejs.renderFile )
const
{
User
}
=
require
(
'./model/User'
);
const
mongoose
=
require
(
'mongoose'
);
// db 연결을 위한 키 값 , 보안을 위해 최종 마스터 브런치에는 포함하지 않을 예정.
mongoose
.
connect
(
'
mongodb+srv://kongtae:ksas9825!%40@squartusers.e2ddc.mongodb.net/?retryWrites=true&w=majorit
y'
)
mongoose
.
connect
(
'
Your own Ke
y'
)
.
then
(()
=>
console
.
log
(
'MongoDB connect!'
))
.
catch
(
err
=>
console
.
log
(
err
))
...
...
Please
register
or
login
to post a comment