Skip to content

Commit

Permalink
fix: Switch api URL
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Nov 16, 2024
1 parent 796fb46 commit cc7ead6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/assets/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ document.addEventListener('keydown', (event) => {
window.onload = async () => {
try {
window.closeModal_func = closeModal;
const requst = await fetch('https://osuck.net/tosu/api.json');
const requst = await fetch('https://tosu.app/api.json');
const json = await requst.json();

const installed = document.querySelectorAll('.calu');
Expand Down
2 changes: 1 addition & 1 deletion packages/server/utils/counters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export async function buildExternalCounters(
let totalAvailable = 0;

try {
const request: any = await fetch('https://osuck.net/tosu/api.json');
const request: any = await fetch('https://tosu.app/api.json');
const json: ICounter[] = await request.json();

const exists = getLocalCounters();
Expand Down

0 comments on commit cc7ead6

Please sign in to comment.