Commit b3403355 authored by nanahira's avatar nanahira

replace urls

parent 02bc3111
......@@ -6,7 +6,7 @@ import config from './config';
Vue.use(VueResource)
// const URL = "http://localhost:3000/api"
const URL = "https://api.mycard.moe/ygopro/arena"
const URL = "https://sapi.moecube.com:444/ygopro/arena"
export default class Api {
......
......@@ -269,7 +269,7 @@
var source = $("#source").val() || "athletic"
var final_source = server + "-" + source
$.get('https://api.mycard.moe/ygopro/analytics/single/type', {
$.get('https://sapi.moecube.com:444/ygopro/analytics/single/type', {
type: $("#type").val(),
lang: localStorage.getItem('lang') || 'cn',
extra: 'name',
......@@ -288,7 +288,7 @@
sideTable = renderTable("#side", side)
});
//卡组api https://api.mycard.moe/ygopro/analytics/deck/type?type=day&source=mycard-entertain
//卡组api https://sapi.moecube.com:444/ygopro/analytics/deck/type?type=day&source=mycard-entertain
//只显示中文
var lang = localStorage.getItem('lang') || 'cn';
if (lang === "cn") {
......@@ -298,7 +298,7 @@
deckTable.destroy();
}
$.get('https://api.mycard.moe/ygopro/analytics/deck/type', {
$.get('https://sapi.moecube.com:444/ygopro/analytics/deck/type', {
type: $("#type").val(),
source: final_source
}, function (data) {
......@@ -435,4 +435,4 @@
height: 72px;
width: 120px;
}
</style>
\ No newline at end of file
</style>
export default {
COUNTER_URL: 'https://api.mycard.moe/ygopro/analytics/counter/type',
COUNTER_URL: 'https://sapi.moecube.com:444/ygopro/analytics/counter/type',
}
......@@ -2429,7 +2429,7 @@
}
// var URL = "http://localhost:3000/api"
var URL = "https://api.mycard.moe/ygopro/arena"
var URL = "https://sapi.moecube.com:444/ygopro/arena"
var params = {
page: this.page
}
......@@ -2700,4 +2700,4 @@
</script>
</html>
\ No newline at end of file
</html>
......@@ -943,7 +943,7 @@
}
// var URL = "http://localhost:3000/api"
var URL = "https://api.mycard.moe/ygopro/arena"
var URL = "https://sapi.moecube.com:444/ygopro/arena"
var params = {
page: this.page
}
......@@ -1203,4 +1203,4 @@
</script>
</html>
\ No newline at end of file
</html>
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