work: remove all other uses of config.js

This commit is contained in:
kittentm 2026-03-14 03:06:30 +01:00
commit 28e5bb6aa7
No known key found for this signature in database
GPG key ID: AC43DFDBC1F44A91
6 changed files with 4 additions and 19 deletions

View file

@ -1,10 +1,9 @@
document.addEventListener("DOMContentLoaded", function () {
const apiBase = CONFIG.API_BASE_URL;
const friendListUrl = "/friend_list/index.html";
async function checkExistingSession() {
try {
const response = await fetch(`${apiBase}/api/v1/session_id/check`, {
const response = await fetch("/api/v1/session_id/check", {
method: 'GET',
credentials: 'include'
});