Fixed path rewrite bug.

This commit is contained in:
Nathan Osman 2016-04-26 15:28:04 -07:00
parent 0c356dc8a4
commit 54de4f5c3f

View File

@ -26,7 +26,6 @@ func rewrite(rawurl string) string {
} }
if strings.HasSuffix(u.Host, ".archive.ubuntu.com") { if strings.HasSuffix(u.Host, ".archive.ubuntu.com") {
u.Host = "archive.ubuntu.com" u.Host = "archive.ubuntu.com"
u.Path = "/ubuntu/"
rawurl = u.String() rawurl = u.String()
} }
return rawurl return rawurl