mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08: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;
|
||||
getOptions.f = () => opts.discourse;
|
||||
|
||||
opts.discourse.limitedSiteSettings = {
|
||||
secureMedia: siteSettings.secure_media
|
||||
};
|
||||
|
||||
opts.engine = window.markdownit({
|
||||
discourse: opts.discourse,
|
||||
html: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user