summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-09-29 14:37:09 +0200
committerErik Larkö <erik@mullvad.net>2017-10-02 08:20:41 +0200
commit5c499db133e292efec323340a2b9f37002638d1d (patch)
tree7958a5ef67a15651ee7d9bed4a200db5a3fc0aa5 /app/lib
parent9547107bf5613eaa2cb430aafe24d1eff75f37c0 (diff)
downloadmullvadvpn-5c499db133e292efec323340a2b9f37002638d1d.tar.xz
mullvadvpn-5c499db133e292efec323340a2b9f37002638d1d.zip
Remove fastest and nearest servers
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js27
1 files changed, 1 insertions, 26 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index ca9635951f..cbbd555987 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -123,34 +123,9 @@ export class Backend {
}
serverInfo(identifier: string): ?ServerInfo {
- switch(identifier) {
- case 'fastest': return this.fastestServer();
- case 'nearest': return this.nearestServer();
- default: return (servers: ServerInfoList)[identifier];
- }
- }
-
- fastestServer(): ServerInfo {
- return {
- address: '193.138.219.226',
- name: 'Fastest',
- city: 'Malmö',
- country: 'Sweden',
- location: [0.0, 0.0]
- };
+ return (servers: ServerInfoList)[identifier];
}
- nearestServer(): ServerInfo {
- return {
- address: '185.65.132.108',
- name: 'Nearest',
- city: 'Helsingborg',
- country: 'Sweden',
- location: [0.0, 0.0]
- };
- }
-
-
login(accountToken: string): Promise<void> {
log.info('Attempting to login with account number', accountToken);