Closed FranciscoDadone closed 2 years ago
This is to solve a bug when passing to the api a local url. (See this issue https://github.com/tiangolo/fastapi/issues/2560)
Example urls: http://localhost/public/... or http://docker-container:port/public/...
Message from fast-api: "msg": "URL host invalid, top level domain required"
Ignore this commit, (it was just for testing): https://github.com/adw0rd/instagrapi-rest/pull/37/commits/c476b9cf7c626e9d020933261a979e486f3d055a
This is to solve a bug when passing to the api a local url. (See this issue https://github.com/tiangolo/fastapi/issues/2560)
Example urls: http://localhost/public/... or http://docker-container:port/public/...
Message from fast-api: "msg": "URL host invalid, top level domain required"