Skip to content

Commit 6fde0f3

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update server.js
Co-Authored-By: JehanKandy <[email protected]> Co-Authored-By: Anupa Gamage <[email protected]>
1 parent 4116cef commit 6fde0f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BackEndMysqlNoMVC/server/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app.use(cors())
2828

2929
// all endpoint start
3030

31-
app.post('/SignUp', (req, res) => {
31+
app.post('/auth/SignUp', (req, res) => {
3232
// console.log(req.body)
3333

3434
// table will be change according to your table name
@@ -74,7 +74,7 @@ app.post('/SignUp', (req, res) => {
7474
})
7575
})
7676

77-
app.post('/SignIn', (req, res) => {
77+
app.post('/auth/SignIn', (req, res) => {
7878
const tableName = "users"
7979
const columnData = { email: req.body.email }
8080

0 commit comments

Comments
 (0)