User Registration Completed
This commit is contained in:
parent
3acfa01d13
commit
9731829c3a
|
@ -10,7 +10,10 @@ require('dotenv').config()
|
|||
const app = express()
|
||||
|
||||
app.use(express.json())
|
||||
app.use(cors())
|
||||
app.use(cors({
|
||||
origin: 'http://localhost:3000'
|
||||
}));
|
||||
|
||||
app.use(json())
|
||||
app.use(
|
||||
urlencoded({
|
||||
|
|
Loading…
Reference in New Issue