Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
reservation-service
Commits
82e694e8
Commit
82e694e8
authored
Oct 05, 2020
by
Choi Ga Young
Browse files
채린 머지 서버에러수정
parent
1a1b300b
Changes
2
Show whitespace changes
Inline
Side-by-side
server/client/src/Pages/ApplyPage.js
View file @
82e694e8
...
@@ -14,7 +14,7 @@ function Apply() {
...
@@ -14,7 +14,7 @@ function Apply() {
time
:
"
시간
"
,
time
:
"
시간
"
,
room
:
"
9-116
"
,
room
:
"
9-116
"
,
name
:
"
종윤
"
,
name
:
"
종윤
"
,
_id
:
"
5f
6fa20001988e5604603870
"
,
_id
:
"
5f
786720c45bbf6c68899c51
"
,
reason
:
"
study hard
"
,
reason
:
"
study hard
"
,
member
:
"
jinju rkyoung
"
,
member
:
"
jinju rkyoung
"
,
approve
:
false
,
approve
:
false
,
...
...
server/schemas/index.js
View file @
82e694e8
...
@@ -5,7 +5,7 @@ module.exports = () => {
...
@@ -5,7 +5,7 @@ module.exports = () => {
if
(
process
.
env
.
NODE_ENV
!==
'
production
'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'
production
'
)
{
mongoose
.
set
(
'
debug
'
,
true
);
mongoose
.
set
(
'
debug
'
,
true
);
}
}
mongoose
.
connect
(
'
mongodb://
cherry:1q2w3e4r
@localhost:27017/admin
'
,
{
mongoose
.
connect
(
'
mongodb://
rkyoung7:rkdud127
@localhost:27017/admin
'
,
{
dbName
:
'
ku_rental
'
,
useNewUrlParser
:
true
,
useUnifiedTopology
:
true
,
dbName
:
'
ku_rental
'
,
useNewUrlParser
:
true
,
useUnifiedTopology
:
true
,
},
(
error
)
=>
{
},
(
error
)
=>
{
if
(
error
)
{
if
(
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment