From 33e179040864a4d5a0add955ee24137c251c4b62 Mon Sep 17 00:00:00 2001 From: lidlanca Date: Fri, 12 Sep 2014 16:29:17 -0400 Subject: [PATCH] stripping port information from Discourse.BaseUrl Port information if presented in Discourse.BaseUrl may break user avatar URL in the template generation. https://github.com/discourse/discourse/edit/master/app/assets/javascripts/discourse/models/user.js avatarTemplate() In the future there should be a way to reference baseUrl with or without port information --- app/views/common/_discourse_javascript.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/common/_discourse_javascript.html.erb b/app/views/common/_discourse_javascript.html.erb index f753ff0f8..a9c1c38bd 100644 --- a/app/views/common/_discourse_javascript.html.erb +++ b/app/views/common/_discourse_javascript.html.erb @@ -31,7 +31,7 @@