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:
parent
e28070b288
commit
f204ca888d
2
main.go
2
main.go
@ -105,7 +105,7 @@ func main() {
|
|||||||
config = conf.Load(version)
|
config = conf.Load(version)
|
||||||
|
|
||||||
// Configure Swagger docs
|
// Configure Swagger docs
|
||||||
docs.SwaggerInfo.BasePath = config.Server.BasePath
|
docs.SwaggerInfo.BasePath = config.Server.BasePath + "/api"
|
||||||
|
|
||||||
// Set log level
|
// Set log level
|
||||||
if config.IsDev() {
|
if config.IsDev() {
|
||||||
|
Loading…
Reference in New Issue
Block a user