chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-08-31 20:35:10 -07:00
parent de566a3205
commit c5e175bbc2
No known key found for this signature in database
3 changed files with 10 additions and 10 deletions

View file

@ -6,7 +6,7 @@ async function handleRequest(request) {
const url = new URL(request.url)
if (url.pathname === '/js/script.js') {
const targetUrl = 'https://dashboard.coryd.dev/script.js'
const targetUrl = 'https://stats.coryd.dev/script.js'
const response = await fetch(targetUrl, {
method: request.method,
headers: request.headers
@ -22,7 +22,7 @@ async function handleRequest(request) {
}
if (url.pathname === '/js/api/send') {
const targetUrl = 'https://dashboard.coryd.dev/api/send'
const targetUrl = 'https://stats.coryd.dev/api/send'
const response = await fetch(targetUrl, {
method: request.method,
headers: request.headers,