1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: swagger docs path [skip ci]

This commit is contained in:
Ferdinand Mütsch 2022-09-30 11:02:32 +02:00
parent e28070b288
commit f204ca888d

View File

@ -105,7 +105,7 @@ func main() {
config = conf.Load(version)
// Configure Swagger docs
docs.SwaggerInfo.BasePath = config.Server.BasePath
docs.SwaggerInfo.BasePath = config.Server.BasePath + "/api"
// Set log level
if config.IsDev() {