Commit fb285a32 authored by wudizhanche1000's avatar wudizhanche1000

https

parent 3b65f412
...@@ -13,7 +13,7 @@ const Aria2 = require('aria2'); ...@@ -13,7 +13,7 @@ const Aria2 = require('aria2');
@Injectable() @Injectable()
export class DownloadService { export class DownloadService {
aria2 = new Aria2(); aria2 = new Aria2();
baseURL = 'http://thief.mycard.moe/metalinks/'; baseURL = 'https://thief.mycard.moe/metalinks/';
appGidMap = new Map<App,string>(); appGidMap = new Map<App,string>();
gidAppMap = new Map<string,App>(); gidAppMap = new Map<string,App>();
eventEmitter = new EventEmitter(); eventEmitter = new EventEmitter();
......
...@@ -24,7 +24,7 @@ export class InstallService { ...@@ -24,7 +24,7 @@ export class InstallService {
installingQueue: Set<App> = new Set(); installingQueue: Set<App> = new Set();
checksumUri = "http://thief.mycard.moe/checksums/"; checksumUri = "https://thief.mycard.moe/checksums/";
constructor(private http: Http, private appsService: AppsService) { constructor(private http: Http, private appsService: AppsService) {
if (process.platform === "win32") { if (process.platform === "win32") {
......
...@@ -38,8 +38,8 @@ export class LobbyComponent implements OnInit { ...@@ -38,8 +38,8 @@ export class LobbyComponent implements OnInit {
} }
async updateApp() { async updateApp() {
let updateServer = "http://thief.mycard.moe/update/metalinks/"; let updateServer = "https://thief.mycard.moe/update/metalinks/";
let checksumServer = "http://thief.mycard.moe/checksums/"; let checksumServer = "https://thief.mycard.moe/checksums/";
for (let app of this.apps.values()) { for (let app of this.apps.values()) {
if (app.isInstalled() && app.version != app.local.version) { if (app.isInstalled() && app.version != app.local.version) {
let checksumMap = await this.installService.getChecksumFile(app); let checksumMap = await this.installService.getChecksumFile(app);
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"servers": [ "servers": [
{ {
"id": "wudizhanche", "id": "wudizhanche",
"url": "ws://wudizhanche.mycard.moe:10800" "url": "wss://wudizhanche.mycard.moe:10800"
} }
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment