mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Used proxy in helper rather than direct require
- we already have access to urlUtils through our helper proxy
This commit is contained in:
parent
99c192e140
commit
ca9d72f317
@ -13,7 +13,7 @@ const Promise = require('bluebird'),
|
|||||||
logging = proxy.logging,
|
logging = proxy.logging,
|
||||||
i18n = proxy.i18n,
|
i18n = proxy.i18n,
|
||||||
errors = proxy.errors,
|
errors = proxy.errors,
|
||||||
urlUtils = require('../../../../../server/lib/url-utils'),
|
urlUtils = proxy.urlUtils,
|
||||||
amperizeCache = {};
|
amperizeCache = {};
|
||||||
|
|
||||||
let allowedAMPTags = [],
|
let allowedAMPTags = [],
|
||||||
|
Loading…
Reference in New Issue
Block a user