Skip to content

Commit

Permalink
Merge pull request #1192 from thunderstore-io/08-28-disable_sessionidd
Browse files Browse the repository at this point in the history
Disable sessionidd
  • Loading branch information
MythicManiac committed Sep 5, 2024
2 parents 831a36d + e4af971 commit 6c941d9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/cyberstorm-remix/cyberstorm/dapper/sessionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ export async function getDapper(isClient = false) {

let shouldRemakeDapper = false;

const allCookies = new URLSearchParams(
window.document.cookie.replaceAll("&", "%26").replaceAll("; ", "&")
);
const cookie = allCookies.get("sessionid");
const csrftoken = allCookies.get("csrftoken");
// const allCookies = new URLSearchParams(
// window.document.cookie.replaceAll("&", "%26").replaceAll("; ", "&")
// );
// const cookie = allCookies.get("sessionid");
// const csrftoken = allCookies.get("csrftoken");
const cookie = null;
const csrftoken = null;

const newConfig: RequestConfig = {
apiHost: window.ENV.PUBLIC_API_URL,
Expand Down

0 comments on commit 6c941d9

Please sign in to comment.