Closed danlshields closed 2 years ago
you can set the real host here:
https://github.com/sipcapture/homer-app/blob/master/etc/webapp_config.json#L48
you can set the real host here:
https://github.com/sipcapture/homer-app/blob/master/etc/webapp_config.json#L48
@adubovikov I'm afraid I don't understand, the problem isn't the API host shown in the API documentation, it's that there is no swagger file at all. It doesn't even get as far as to use config.Setting.SWAGGER.ApiHost
...
In Settings, the API documentation doesn't load, the API responds to the request to
/doc/api/json
with a400
error, with a{"data":{},"message":"swagger file couldn't be found"}
body. https://github.com/sipcapture/homer-app/blob/f957fc9c5ffc634fee27a62429d8d40edd32e7f1/main.go#L721-L731