Skip to content
Snippets Groups Projects
Commit 1286527f authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Re add CDN_PREFIX option

parent 22a1dbdf
No related branches found
No related tags found
Loading
Meteor.startup ->
cdnPrefix = RocketChat.settings.get 'CDN_PREFIX'
if cdnPrefix?
if cdnPrefix?.trim?() isnt ''
WebAppInternals.setBundledJsCssPrefix cdnPrefix
......@@ -49,6 +49,7 @@ RocketChat.settings.add 'Site_Url', __meteor_runtime_config__?.ROOT_URL, { type:
RocketChat.settings.add 'Site_Name', 'Rocket.Chat', { type: 'string', group: 'General', public: true }
RocketChat.settings.add 'Allow_Invalid_SelfSigned_Certs', false, { type: 'boolean', group: 'General' }
RocketChat.settings.add 'Disable_Favorite_Rooms', false, { type: 'boolean', group: 'General' }
RocketChat.settings.add 'CDN_PREFIX', '', { type: 'string', group: 'General' }
RocketChat.settings.addGroup 'API'
RocketChat.settings.add 'API_Analytics', '', { type: 'string', group: 'API', public: true }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment