Skip to content

[FIX] Livechat is not working when running in a sub path#9599

Merged
rodrigok merged 1 commit intodevelopfrom
hotfix/livechat-subpath
Feb 8, 2018
Merged

[FIX] Livechat is not working when running in a sub path#9599
rodrigok merged 1 commit intodevelopfrom
hotfix/livechat-subpath

Conversation

@rodrigok
Copy link
Copy Markdown
Member

@rodrigok rodrigok commented Feb 5, 2018

No description provided.

@rodrigok rodrigok added this to the 0.62.0 milestone Feb 5, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-9599 February 5, 2018 18:06 Inactive
if (/\/$/.test(baseUrl) === false) {
baseUrl += '/';
}

Copy link
Copy Markdown

@renatobecker-zz renatobecker-zz Feb 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rodrigok, a variable (baseUrl) was created to deal with __meteor_runtime_config __. ROOT_URL_PATH_PREFIX, would not it be nice to use this same variable below, where __meteor_runtime_config __. ROOT_URL_PATH_PREFIX is mentioned again?

@rodrigok rodrigok merged commit 884b549 into develop Feb 8, 2018
@rodrigok rodrigok deleted the hotfix/livechat-subpath branch February 8, 2018 15:28
@rodrigok rodrigok mentioned this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants