add and test dockerfile build and run
This commit is contained in:
2
main.go
2
main.go
@@ -40,7 +40,7 @@ func main() {
|
||||
mux.Handle(core.RefreshToken, &handler)
|
||||
mux.Handle(core.ResetNKode, &handler)
|
||||
fmt.Println("Running on localhost:8080...")
|
||||
log.Fatal(http.ListenAndServe("localhost:8080", corsMiddleware(mux)))
|
||||
log.Fatal(http.ListenAndServe(":8080", corsMiddleware(mux)))
|
||||
}
|
||||
|
||||
func corsMiddleware(next http.Handler) http.Handler {
|
||||
|
||||
Reference in New Issue
Block a user