Registrations currently disabled due to spam. Contact me externally if you need an account

Commit 0b75c414 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Do not set ROOT_URL_PATH_PREFIX based on Site_URL

parent 47408a16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ RocketChat.settings.get 'Site_Url', (key, value) ->
			prefix = match[2].replace(/\/$/, '')

		__meteor_runtime_config__.ROOT_URL = host
		__meteor_runtime_config__.ROOT_URL_PATH_PREFIX = prefix
		# __meteor_runtime_config__.ROOT_URL_PATH_PREFIX = prefix

		if Meteor.absoluteUrl.defaultOptions?.rootUrl?
			Meteor.absoluteUrl.defaultOptions.rootUrl = host