Commit 30727a58 authored by Tang Xinwei's avatar Tang Xinwei

update mycard new endpoints

parent 57e0821f
Pipeline #30141 passed with stage
in 21 minutes and 32 seconds
......@@ -18,7 +18,7 @@ jobs:
- name: deploy
uses: actions/aws/cli@master
with:
args: s3 --endpoint https://minio.mycard.moe:9000 sync dist s3://mycard/mobile
args: s3 --endpoint https://minio.moenext.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 }}
......@@ -25,6 +25,6 @@ upload_to_minio:
tags:
- linux
script:
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://mycard/mobile
- aws s3 --endpoint=https://minio.moenext.com:9000 sync --delete dist/ s3://mycard/mobile
only:
- master
......@@ -13,7 +13,7 @@ deploy:
skip_cleanup: true
local-dir: dist
upload-dir: mobile
endpoint: https://minio.mycard.moe:9000
endpoint: https://minio.moenext.com:9000
notifications:
webhooks:
urls: https://sapi.moecube.com:444/notify/travis
......
......@@ -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": {
......
......@@ -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();
......
......@@ -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) {
......
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