Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

[CHORE] Migrate 'demo.rocket.chat' references to 'open.rocket.chat' #745

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Rocket.Chat/API/API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation
import SwiftyJSON

class API {
static let shared: API! = API(host: "https://demo.rocket.chat")
static let shared: API! = API(host: "https://open.rocket.chat")

var host: URL
var authToken: String?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import semver

final class ConnectServerViewController: BaseViewController {

internal let defaultURL = "https://demo.rocket.chat"
internal let defaultURL = "https://open.rocket.chat"
internal var connecting = false
internal var serverURL: URL!

Expand Down
6 changes: 3 additions & 3 deletions Rocket.ChatTests/Extensions/NSURLExtensionSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class NSURLExtensionSpec: XCTestCase {

func testSocketURLComponents() {
let tests = [
"http://demo.rocket.chat/",
"wss://demo.rocket.chat/",
"wss://demo.rocket.chat/websocket",
"http://open.rocket.chat/",
"wss://open.rocket.chat/",
"wss://open.rocket.chat/websocket",
"ftp://foo.bar.websocket.foo/chat/",
"http://foo/websocket",
"http://127.0.0.1/websocket"
Expand Down