{"push_id":574788024,"size":1,"distinct_size":1,"ref":"refs/heads/relative-urls","head":"289fb4d92d9df899ed1ecc58efa1fc636b9bca3c","before":"3ecbd736a4a121c25315a9863ed0440bdc60fab8","commits":[{"sha":"289fb4d92d9df899ed1ecc58efa1fc636b9bca3c","author":{"email":"d7748b1e6f41fd74500c5ccae0980eab88c2ef61@gmail.com","name":"Julius Volz"},"message":"Make all URLs relative to support proxies.\n\nThis makes all URLs relative instead of absolute to enable people to run\nPrometheus behind a Proxy with a different path (like\nhttp://myproxy/prometheus/).\n\nThe caveat is that this now codifies assumptions for the relative path\ndepths for all pages. For example, consoles templates are now always\nassumed to be one path level from the root (because the common header\nand console library adds '../' to all their URLs). Currently we don't\nhave example consoles in subdirectories of \"consoles\", but this would\ndisallow that for the future (or we could add later support for\ndetecting somehow what the right depth is based on the console file\nwe're loading).\n\nThis fixes https://github.com/prometheus/prometheus/issues/519","distinct":true,"url":"https://api.github.com/repos/prometheus/prometheus/commits/289fb4d92d9df899ed1ecc58efa1fc636b9bca3c"}]}