diff --git a/src/api/loc.sh/routes/internal.ts b/src/api/loc.sh/routes/internal.ts index bf94bc4..0b9b18e 100644 --- a/src/api/loc.sh/routes/internal.ts +++ b/src/api/loc.sh/routes/internal.ts @@ -93,7 +93,7 @@ export default class Internal extends Route { if (!customer) return res.sendStatus(404); await axios({ method: 'get', - url: `https://api.libraryofcode.org/wh/t2?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, + url: `https://api.cloud.libraryofcode.org/wh/t2?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, }); res.sendStatus(200); } @@ -104,7 +104,7 @@ export default class Internal extends Route { if (!customer) return res.sendStatus(404); await axios({ method: 'get', - url: `https://api.libraryofcode.org/wh/t2-rm?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, + url: `https://api.cloud.libraryofcode.org/wh/t2-rm?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, }); return res.sendStatus(200); }