shorten share links and add migration

This commit is contained in:
miloschwartz
2025-04-04 22:58:01 -04:00
parent 302094771b
commit 74d6b3d902
12 changed files with 231 additions and 63 deletions

View File

@@ -118,12 +118,10 @@ export default async function ResourceAuthPage(props: {
}
if (searchParams.token) {
const [accessTokenId, accessToken] = searchParams.token.split(".");
return (
<div className="w-full max-w-md">
<AccessToken
accessToken={accessToken}
accessTokenId={accessTokenId}
token={searchParams.token}
resourceId={params.resourceId}
redirectUrl={redirectUrl}
/>