Fix same domains links on subfolder installs

isInternal link handling logic needs to test if the link is inside the same subfolder
This commit is contained in:
Rafael dos Santos Silva 2015-08-27 18:37:52 -03:00
parent cc2dc4d550
commit 983d3606df
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ const DiscourseURL = Ember.Object.createWithMixins({
// This has been extracted so it can be tested.
origin: function() {
return window.location.origin;
return Discourse.BaseUrl + Discourse.BaseUri;
},
/**