Fix m3u path

Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
This commit is contained in:
Pierre-Emmanuel Jacquier
2019-05-16 21:29:12 +00:00
parent a165f3f64c
commit fa9739d0da

View File

@@ -40,7 +40,7 @@ func ReplaceURL(proxyConfig *config.ProxyConfig) (*m3u.Playlist, error) {
"http://%s:%d%s?username=%s&password=%s",
config.Hostname,
config.Port,
oriURL.RequestURI(),
oriURL.Path,
proxyConfig.User,
proxyConfig.Password,
)