remove domain whitelisting and JWT Authenticate
This commit is contained in:
4
main.go
4
main.go
@@ -77,8 +77,8 @@ func main() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("Server started on :8080")
|
log.Println("Server started on :4012")
|
||||||
log.Fatal(http.ListenAndServe(":8080", corsMiddleware(router)))
|
log.Fatal(http.ListenAndServe(":4012", corsMiddleware(router)))
|
||||||
}
|
}
|
||||||
|
|
||||||
func initDB() {
|
func initDB() {
|
||||||
|
|||||||
Reference in New Issue
Block a user