Skip to content

Commit fba7aaa

Browse files
Update API base URL to api.bootcs.cn
1 parent 26116e3 commit fba7aaa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bootcs/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def run_submit(args):
710710
if result.status == "EVALUATING":
711711
print()
712712
termcolor.cprint("💡 Your code is being evaluated. Check results at:", "cyan")
713-
print(f" https://bootcs.dev/submissions/{result.submission_id}")
713+
print(f" https://bootcs.cn/submissions/{result.submission_id}")
714714
return 0
715715

716716
# Wait for evaluation result (polling mode)
@@ -724,7 +724,7 @@ def run_submit(args):
724724
print()
725725
print(" Your submission is still being processed.")
726726
termcolor.cprint(" Check results at:", "cyan")
727-
print(f" https://bootcs.dev/submissions/{result.submission_id}")
727+
print(f" https://bootcs.cn/submissions/{result.submission_id}")
728728
print()
729729
termcolor.cprint(f" Or wait longer with: bootcs submit {slug} --timeout {args.timeout * 2}", "white")
730730
return 0

bootcs/api/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
# Default API base URL
14-
DEFAULT_API_BASE = "https://api.bootcs.dev"
14+
DEFAULT_API_BASE = "https://api.bootcs.cn"
1515

1616

1717
def get_api_base() -> str:

bootcs/auth/device_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class TokenResponse:
3939

4040

4141
# Default API base URL - can be overridden via environment
42-
DEFAULT_API_BASE = "https://api.bootcs.dev"
42+
DEFAULT_API_BASE = "https://api.bootcs.cn"
4343

4444

4545
def get_api_base() -> str:

0 commit comments

Comments
 (0)