Skip to content
Snippets Groups Projects
Commit 0bac65c8 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

using onLoad

parent 97f04ecc
No related branches found
No related tags found
No related merge requests found
Meteor.startup ->
cdnPrefix = RocketChat.settings.get 'CDN_PREFIX'
if cdnPrefix?.trim?() isnt ''
WebAppInternals.setBundledJsCssPrefix cdnPrefix
RocketChat.settings.onload 'CDN_PREFIX', (key, value, initialLoad) ->
if value?.trim() isnt ''
WebAppInternals.setBundledJsCssPrefix value
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