Skip to content

Commit 3aba5f3

Browse files
geekgonecrazygdelavald
authored andcommitted
[NEW] Convert default connection to open.rocket.chat (RocketChat#557)
* Update app.html * Update start.js * Update servers.js
1 parent 30eeb18 commit 3aba5f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/public/app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2><script>document.write(i18n.__('Enter_your_server_URL'))</script></h2>
4343
</header>
4444
<div class="fields">
4545
<div class="input-text active">
46-
<input type="text" name="host" placeholder="https://demo.rocket.chat" dir="auto">
46+
<input type="text" name="host" placeholder="https://open.rocket.chat" dir="auto">
4747
</div>
4848
</div>
4949

src/scripts/servers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class Servers extends EventEmitter {
250250
}
251251

252252
setHostTitle (hostUrl, title) {
253-
if (title === 'Rocket.Chat' && /https?:\/\/demo\.rocket\.chat/.test(hostUrl) === false) {
253+
if (title === 'Rocket.Chat' && /https?:\/\/open\.rocket\.chat/.test(hostUrl) === false) {
254254
title += ' - ' + hostUrl;
255255
}
256256
const hosts = this.hosts;

src/scripts/start.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sidebar.on('badge-setted', function () {
1818
});
1919

2020
export const start = function () {
21-
const defaultInstance = 'https://demo.rocket.chat';
21+
const defaultInstance = 'https://open.rocket.chat';
2222

2323
// connection check
2424
function online () {

0 commit comments

Comments
 (0)