Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mycard Mobile
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
MyCard
Mycard Mobile
Commits
30727a58
Commit
30727a58
authored
Sep 30, 2024
by
Tang Xinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update mycard new endpoints
parent
57e0821f
Pipeline
#30141
passed with stage
in 21 minutes and 32 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
.travis.yml
.travis.yml
+1
-1
ngsw-config.json
ngsw-config.json
+1
-1
src/app/lobby/lobby.component.ts
src/app/lobby/lobby.component.ts
+1
-1
src/main.ts
src/main.ts
+1
-1
No files found.
.github/workflows/nodejs.yml
View file @
30727a58
...
...
@@ -18,7 +18,7 @@ jobs:
-
name
:
deploy
uses
:
actions/aws/cli@master
with
:
args
:
s3 --endpoint https://minio.m
ycard.moe
:9000 sync dist s3://mycard/mobile
args
:
s3 --endpoint https://minio.m
oenext.com
:9000 sync dist s3://mycard/mobile
env
:
AWS_ACCESS_KEY_ID
:
${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY
:
${{ secrets.AWS_SECRET_ACCESS_KEY }}
.gitlab-ci.yml
View file @
30727a58
...
...
@@ -25,6 +25,6 @@ upload_to_minio:
tags
:
-
linux
script
:
-
aws s3 --endpoint=https://minio.m
ycard.moe
:9000 sync --delete dist/ s3://mycard/mobile
-
aws s3 --endpoint=https://minio.m
oenext.com
:9000 sync --delete dist/ s3://mycard/mobile
only
:
-
master
.travis.yml
View file @
30727a58
...
...
@@ -13,7 +13,7 @@ deploy:
skip_cleanup
:
true
local-dir
:
dist
upload-dir
:
mobile
endpoint
:
https://minio.m
ycard.moe
:9000
endpoint
:
https://minio.m
oenext.com
:9000
notifications
:
webhooks
:
urls
:
https://sapi.moecube.com:444/notify/travis
...
...
ngsw-config.json
View file @
30727a58
...
...
@@ -23,7 +23,7 @@
"urls"
:
[
"https://sapi.moecube.com:444/apps.json"
,
"https://ygobbs2.com/top/quarterly.json"
,
"https://mycard.
moe
/ygopro/api/history"
,
"https://mycard.
world
/ygopro/api/history"
,
"https://sapi.moecube.com:444/ygopro/arena/user"
],
"cacheConfig"
:
{
...
...
src/app/lobby/lobby.component.ts
View file @
30727a58
...
...
@@ -44,7 +44,7 @@ export class LobbyComponent {
public
storage
:
StorageService
,
private
dialog
:
MatDialog
)
{
const
arena_url
=
new
URL
(
'
https://mycard.
moe
/ygopro/arena
'
);
const
arena_url
=
new
URL
(
'
https://mycard.
world
/ygopro/arena
'
);
arena_url
.
searchParams
.
set
(
'
sso
'
,
login
.
token
);
this
.
arena_url
=
arena_url
.
toString
();
...
...
src/main.ts
View file @
30727a58
...
...
@@ -6,7 +6,7 @@ import { environment } from './environments/environment';
// migrate
if
(
location
.
host
===
'
r.my-card.in
'
)
{
location
.
replace
(
'
https://mycard.
moe
/mobile/
'
);
location
.
replace
(
'
https://mycard.
world
/mobile/
'
);
}
if
(
environment
.
production
)
{
...
...
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