Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GaiaXalter
Ygopro Arena Web
Commits
b3403355
Commit
b3403355
authored
Aug 02, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace urls
parent
02bc3111
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
src/api.js
src/api.js
+1
-1
src/components/Cards.vue
src/components/Cards.vue
+4
-4
src/config.js
src/config.js
+1
-1
static/deck.html
static/deck.html
+2
-2
static/konami.html
static/konami.html
+2
-2
No files found.
src/api.js
View file @
b3403355
...
...
@@ -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
{
...
...
src/components/Cards.vue
View file @
b3403355
...
...
@@ -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
>
src/config.js
View file @
b3403355
export
default
{
COUNTER_URL
:
'
https://
api.mycard.moe
/ygopro/analytics/counter/type
'
,
COUNTER_URL
:
'
https://
sapi.moecube.com:444
/ygopro/analytics/counter/type
'
,
}
static/deck.html
View file @
b3403355
...
...
@@ -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>
static/konami.html
View file @
b3403355
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment