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
|
|
@ -12,7 +12,6 @@
|
|||
<meta content="no-cache" http-equiv="pragma"/>
|
||||
<title>Sign In to Splatfestival Network</title>
|
||||
<link href="../splatfestival/css/style-auth.css" rel="stylesheet"/>
|
||||
<script src="/config.js"></script>
|
||||
<script src="../splatfestival/js/base_e42dadd1.js"></script>
|
||||
<script src="splatfestivalyay.js"></script>
|
||||
<script src="../splatfestival/353f197638abe79a7d2dc7a7fd522d075d11521d/satelliteLib-df3d4f52ec08e860f63e4ce57be273a0ed391ab8.js"></script>
|
||||
|
|
|
|||
|
|
@ -2,15 +2,14 @@ $(document).ready(function () {
|
|||
const form = $("#auth-form");
|
||||
const errorContainer = $("#auth-error");
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const apiBase = CONFIG.API_BASE_URL;
|
||||
|
||||
$("#frontend_origin").val(window.location.origin);
|
||||
|
||||
form.attr("action", apiBase + "/api/v2/sso/spfn/generate_token");
|
||||
form.attr("action", "/api/v2/sso/spfn/generate_token");
|
||||
|
||||
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