forked from spacebar/SplatNet
work: remove all other uses of config.js
This commit is contained in:
parent
6ad83586bf
commit
28e5bb6aa7
6 changed files with 4 additions and 19 deletions
|
|
@ -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'
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue