where is v1

This commit is contained in:
Quaternions 2024-11-26 16:13:20 -08:00
parent 2504572cb3
commit b8cb49c1cb

View File

@ -68,7 +68,7 @@ func serve(ctx *cli.Context) error {
log.WithError(err).Fatal("failed to connect database")
}
srv, err := api.NewServer(&service.Service{DB: db}, api.WithPathPrefix("/v2"))
srv, err := api.NewServer(&service.Service{DB: db}, api.WithPathPrefix("/v1"))
if err != nil {
log.WithError(err).Fatal("failed to initialize api server")
}