1// Catch Supabase OAuth callback that landed on Site URL fallback instead 2// of the dedicated /auth/callback route (e.g. when the redirect URL is 3// not on the Supabase whitelist). Runs synchronously before <body>. 4(function () { 5 try { 6 var params = new URLSearchParams(window.location.search); 7 var code = params.get('code'); 8 if (!code) return; 9 var type = params.get('type'); 10 var target = type === 'recovery' 11 ? '/auth/reset-hesla?code=' + encodeURIComponent(code) 12 : '/auth/callback?code=' + encodeURIComponent(code); 13 window.location.replace(target); 14 } catch (e) {} 15})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.