Skip to content
Snippets Groups Projects
Unverified Commit 6e9a7f77 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix relative assets

parent 7dd48b34
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ RocketChat.Assets = new class
ws.on 'end', Meteor.bindEnvironment ->
Meteor.setTimeout ->
RocketChat.settings.updateById "Assets_#{asset}", {
url: "/assets/#{asset}.#{extension}"
url: "assets/#{asset}.#{extension}"
defaultUrl: assets[asset].defaultUrl
}
, 200
......
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