Commit f5ebd782 authored by nanahira's avatar nanahira

also replace some urls

parent 96bec59f
Pipeline #4444 passed with stages
in 5 minutes and 26 seconds
<nz-layout class="layout"> <nz-layout class="layout">
<nz-affix class="nav-affix"> <nz-affix class="nav-affix">
<nz-header id="nav-header" class="nav"> <nz-header id="nav-header" class="nav">
<img class="logo" src="https://cdn01.moecube.com/store/zh-CN/assets/logo.png" /> <img class="logo" src="https://cdn02.moecube.com:444/store/zh-CN/assets/logo.png" />
<ul id="nav-ul" nz-menu [nzTheme]="'dark'" [nzMode]="'horizontal'" style="line-height: 64px;"> <ul id="nav-ul" nz-menu [nzTheme]="'dark'" [nzMode]="'horizontal'" style="line-height: 64px;">
<li nz-menu-item><a href="https://mycard.moe/">首页</a></li> <li nz-menu-item><a href="https://mycard.moe/">首页</a></li>
<li nz-menu-item><a href="https://ygobbs.com/">社区</a></li> <li nz-menu-item><a href="https://ygobbs.com/">社区</a></li>
...@@ -111,25 +111,25 @@ ...@@ -111,25 +111,25 @@
<img class="section-third-pic" src="assets/img/ygopro-screenshot-1.jpg" /> <img class="section-third-pic" src="assets/img/ygopro-screenshot-1.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="https://cdn01.moecube.com/store/en-US/assets/ozns_1.jpg" /> <img class="section-third-pic" src="https://cdn02.moecube.com:444/store/en-US/assets/ozns_1.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="https://cdn01.moecube.com/store/en-US/assets/eddyviolet_1.jpg" /> <img class="section-third-pic" src="https://cdn02.moecube.com:444/store/en-US/assets/eddyviolet_1.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="https://cdn01.moecube.com/store/en-US/assets/df02_1.jpg" /> <img class="section-third-pic" src="https://cdn02.moecube.com:444/store/en-US/assets/df02_1.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="assets/img/ygopro-screenshot-2.jpg" /> <img class="section-third-pic" src="assets/img/ygopro-screenshot-2.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="https://cdn01.moecube.com/store/en-US/assets/ozns_2.jpg" /> <img class="section-third-pic" src="https://cdn02.moecube.com:444/store/en-US/assets/ozns_2.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="https://cdn01.moecube.com/store/en-US/assets/eddyviolet_2.jpg" /> <img class="section-third-pic" src="https://cdn02.moecube.com:444/store/en-US/assets/eddyviolet_2.jpg" />
</div> </div>
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<img class="section-third-pic" src="https://cdn01.moecube.com/store/en-US/assets/df02_2.jpg" /> <img class="section-third-pic" src="https://cdn02.moecube.com:444/store/en-US/assets/df02_2.jpg" />
</div> </div>
</div> </div>
</div> </div>
......
...@@ -22,16 +22,16 @@ export class LayoutComponent implements OnInit { ...@@ -22,16 +22,16 @@ export class LayoutComponent implements OnInit {
} }
latest_win32 = this.http latest_win32 = this.http
.get('https://cdn01.moecube.com/downloads/latest.yml', { responseType: 'text' }) .get('https://cdn02.moecube.com:444/downloads/latest.yml', { responseType: 'text' })
.pipe(map(rawData => 'https://cdn01.moecube.com/downloads/' + yaml.parse(rawData).path)); .pipe(map(rawData => 'https://cdn02.moecube.com:444/downloads/' + yaml.parse(rawData).path));
latest_linux = this.http latest_linux = this.http
.get('https://cdn01.moecube.com/downloads/latest-linux.yml', { responseType: 'text' }) .get('https://cdn02.moecube.com:444/downloads/latest-linux.yml', { responseType: 'text' })
.pipe(map(rawData => 'https://cdn01.moecube.com/downloads/' + yaml.parse(rawData).path)); .pipe(map(rawData => 'https://cdn02.moecube.com:444/downloads/' + yaml.parse(rawData).path));
latest_drawin = this.http latest_drawin = this.http
.get('https://cdn01.moecube.com/downloads/latest-mac.yml', { responseType: 'text' }) .get('https://cdn02.moecube.com:444/downloads/latest-mac.yml', { responseType: 'text' })
.pipe(map((rawData) => 'https://cdn01.moecube.com/downloads/' + yaml.parse(rawData).path.replace('-mac.zip', '.dmg'))); .pipe(map((rawData) => 'https://cdn02.moecube.com:444/downloads/' + yaml.parse(rawData).path.replace('-mac.zip', '.dmg')));
latest_current = '' latest_current = ''
......
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