Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raz-amir committed Jul 30, 2023
1 parent b053e10 commit b8b3dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func startServer(logger *logrus.Logger, cfg *config.Config) {

addMimeTypes()

httpServer, err := fakestorage.NewServerWithOptions(*listenersAndOpts[1].opts)
httpServer, err := fakestorage.NewServerWithOptions(*listenersAndOpts[0].opts)
if err != nil {
logger.WithError(err).Fatal("couldn't start the server")
}
Expand Down

0 comments on commit b8b3dbd

Please sign in to comment.