Skip to content

Commit

Permalink
changing response
Browse files Browse the repository at this point in the history
  • Loading branch information
Si Choi authored and Si Choi committed Apr 29, 2020
1 parent 1382f18 commit 211ca0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const db = knex({
app.use(express.json());
app.use(cors());

app.get('/', (req, res) => {res.send(database.users);})
app.get('/', (req, res) => {res.send('it is working!');})
app.post('/signin', (req, res) => { signin.handleSignin(req, res, db, bcrypt) })
app.post('/register', (req, res) => { register.handleRegister(req, res, db, bcrypt) })
app.get('/profile/:id', (req, res) => { profile.handleProfile(req, res, db) })
Expand Down

0 comments on commit 211ca0b

Please sign in to comment.