Update app.py
Browse files
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 }, "
|
| 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 |
}
|