Closed chrisboulton closed 11 years ago
Sigh, don't merge this yet - my sleepy self just broke graphs loaded over SSL.
Fixed.
> url = parseUrl('http://www.google.com/'); url.protocol + ' ' + url.port
"http 80"
> url = parseUrl('https://www.google.com/'); url.protocol + ' ' + url.port
"https 443"
> url = parseUrl('https://www.google.com:1234/'); url.protocol + ' ' + url.port
"https 1234"
> url = parseUrl('http://www.google.com:1234/'); url.protocol + ' ' + url.port
"http 1234"
Whoops - old habits die hard. Fixed. :squirrel:
:boom: :wine_glass: :zap: :cherries:
I noticed this while redoing my development setup tonight where graphite is listening on a port other than 80.
Simply ensure the port is always passed when rendering a graph in the browser.
:heart: