瀏覽代碼

feat: update base url to cloudflare domain

kotoyuuko 3 周之前
父節點
當前提交
d20815a69b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/client/cosmoe.ts

+ 2 - 2
src/client/cosmoe.ts

@@ -3,7 +3,7 @@
 /**
  * Cosmoe API Client
  * API Documentation: https://cos.world/api/v1/api_docs.html
- * Base URL: http://cos.moe/api/v1/
+ * Base URL: http://cos.cx/api/v1/
  */
 
 interface ApiResponse<T = any> {
@@ -111,7 +111,7 @@ interface BookingRequest {
 }
 
 export class CosmoeClient {
-  private baseUrl = "https://cos.world/api/v1";
+  private baseUrl = "https://cos.cx/api/v1";
   private userId?: number;
   private token?: string;