Skip to content

Commit 99c0a47

Browse files
committed
fix url param
1 parent 9dd6665 commit 99c0a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vps-web/src/app/netlify-deployment-wip/token-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const netlifyTokenHandler = () => {
1717
netlifyAccessToken = accessToken;
1818
} else {
1919
const urlParams = new URLSearchParams(window.location.search);
20-
const tokenFromUrl = urlParams.get('netlify_access_token');
20+
const tokenFromUrl = urlParams.get('access_token');
2121
if (tokenFromUrl) {
2222
netlifyAccessToken = tokenFromUrl;
2323
document.cookie = `netlify_access_token=${tokenFromUrl}; path=/; max-age=31536000; secure; samesite=strict`;

0 commit comments

Comments
 (0)