mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: regression in secure URL generation, followup to 36bad0c
This commit is contained in:
parent
36bad0c31f
commit
34bbd51350
@ -339,6 +339,10 @@ export function setup(opts, siteSettings, state) {
|
|||||||
opts.discourse = copy;
|
opts.discourse = copy;
|
||||||
getOptions.f = () => opts.discourse;
|
getOptions.f = () => opts.discourse;
|
||||||
|
|
||||||
|
opts.discourse.limitedSiteSettings = {
|
||||||
|
secureMedia: siteSettings.secure_media
|
||||||
|
};
|
||||||
|
|
||||||
opts.engine = window.markdownit({
|
opts.engine = window.markdownit({
|
||||||
discourse: opts.discourse,
|
discourse: opts.discourse,
|
||||||
html: true,
|
html: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user