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:
parent
cc2dc4d550
commit
983d3606df
|
@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue