Commit d2fd28bd authored by wind2009's avatar wind2009

Update cdn url

parent cf566a8d
Pipeline #39650 passed with stages
in 4 minutes and 3 seconds
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve --host 0.0.0.0", "start": "ng serve --host 0.0.0.0",
"build": "ng build --source-map --base-href https://cdntx.moecube.com.moecube.com/store/remake/ --deploy-url https://cdntx.moecube.com.moecube.com/store/remake/", "build": "ng build --source-map --base-href https://cdntx.moecube.com/store/remake/ --deploy-url https://cdntx.moecube.com/store/remake/",
"test": "ng test" "test": "ng test"
}, },
"private": true, "private": true,
......
...@@ -147,19 +147,19 @@ ...@@ -147,19 +147,19 @@
<div class="col-3 mb-4"> <div class="col-3 mb-4">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/ozns_1.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/ozns_1.jpg"/>
</div> </div>
</div> </div>
<div class="col-3 mb-4"> <div class="col-3 mb-4">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/eddyviolet_1.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/eddyviolet_1.jpg"/>
</div> </div>
</div> </div>
<div class="col-3 mb-4"> <div class="col-3 mb-4">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/df02_1.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/df02_1.jpg"/>
</div> </div>
</div> </div>
<div class="col-3 mb-4"> <div class="col-3 mb-4">
...@@ -170,19 +170,19 @@ ...@@ -170,19 +170,19 @@
<div class="col-3 mb-4"> <div class="col-3 mb-4">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/ozns_2.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/ozns_2.jpg"/>
</div> </div>
</div> </div>
<div class="col-3 mb-4"> <div class="col-3 mb-4">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/eddyviolet_2.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/eddyviolet_2.jpg"/>
</div> </div>
</div> </div>
<div class="col-3 mb-4"> <div class="col-3 mb-4">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/df02_2.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/df02_2.jpg"/>
</div> </div>
</div> </div>
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
</div> </div>
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/ozns_1.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/ozns_1.jpg"/>
</div> </div>
</div> </div>
</div> </div>
...@@ -212,12 +212,12 @@ ...@@ -212,12 +212,12 @@
<div class="row"> <div class="row">
<div class="d-flex justify-content-center mb-4 "> <div class="d-flex justify-content-center mb-4 ">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/eddyviolet_1.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/eddyviolet_1.jpg"/>
</div> </div>
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/df02_1.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/df02_1.jpg"/>
</div> </div>
</div> </div>
</div> </div>
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/ozns_2.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/ozns_2.jpg"/>
</div> </div>
</div> </div>
</div> </div>
...@@ -238,12 +238,12 @@ ...@@ -238,12 +238,12 @@
<div class="row"> <div class="row">
<div class="d-flex justify-content-center mb-4"> <div class="d-flex justify-content-center mb-4">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/eddyviolet_2.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/eddyviolet_2.jpg"/>
</div> </div>
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<img class="section-third-pic col-12 rounded" <img class="section-third-pic col-12 rounded"
src="https://cdntx.moecube.com.moecube.com/store/en-US/assets/df02_2.jpg"/> src="https://cdntx.moecube.com/store/en-US/assets/df02_2.jpg"/>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -25,16 +25,16 @@ export class LayoutComponent implements OnInit, AfterViewInit { ...@@ -25,16 +25,16 @@ export class LayoutComponent implements OnInit, AfterViewInit {
}; };
latest_win32 = this.http latest_win32 = this.http
.get('https://cdntx.moecube.com.moecube.com/downloads/latest.yml', {responseType: 'text'}) .get('https://cdntx.moecube.com/downloads/latest.yml', {responseType: 'text'})
.pipe(map(rawData => 'https://cdntx.moecube.com.moecube.com/downloads/' + yaml.parse(rawData).path)); .pipe(map(rawData => 'https://cdntx.moecube.com/downloads/' + yaml.parse(rawData).path));
latest_linux = this.http latest_linux = this.http
.get('https://cdntx.moecube.com.moecube.com/downloads/latest-linux.yml', {responseType: 'text'}) .get('https://cdntx.moecube.com/downloads/latest-linux.yml', {responseType: 'text'})
.pipe(map(rawData => 'https://cdntx.moecube.com.moecube.com/downloads/' + yaml.parse(rawData).path)); .pipe(map(rawData => 'https://cdntx.moecube.com/downloads/' + yaml.parse(rawData).path));
latest_drawin = this.http latest_drawin = this.http
.get('https://cdntx.moecube.com.moecube.com/downloads/latest-mac.yml', {responseType: 'text'}) .get('https://cdntx.moecube.com/downloads/latest-mac.yml', {responseType: 'text'})
.pipe(map((rawData) => 'https://cdntx.moecube.com.moecube.com/downloads/' + yaml.parse(rawData).path.replace('-mac.zip', '.dmg'))); .pipe(map((rawData) => 'https://cdntx.moecube.com/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