soiz1 commited on
Commit
010d6b2
·
verified ·
1 Parent(s): 44dd7bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def close():
79
  const hashParams = new URLSearchParams(window.location.hash.substring(1));
80
  const token = hashParams.get("access_token");
81
  if (token) {
82
- window.opener.postMessage({ token }, "https://soiz1-penguinmod-editor.hf.space");
83
  window.close();
84
  }
85
  }
 
79
  const hashParams = new URLSearchParams(window.location.hash.substring(1));
80
  const token = hashParams.get("access_token");
81
  if (token) {
82
+ window.opener.postMessage({ token }, "*");
83
  window.close();
84
  }
85
  }