diff --git a/scripts/standalone-verify.ts b/scripts/standalone-verify.ts index d4669fb..7abb9d7 100644 --- a/scripts/standalone-verify.ts +++ b/scripts/standalone-verify.ts @@ -356,7 +356,7 @@ async function verify(qrCodeUrlStr: string) { api_key: null, api_secret: null, token, - longURL: null, + longURL: originalUrl, userAgent: userAgent }) }); diff --git a/src/routes/api/verify/+server.ts b/src/routes/api/verify/+server.ts index 8f20224..877d1fd 100644 --- a/src/routes/api/verify/+server.ts +++ b/src/routes/api/verify/+server.ts @@ -384,7 +384,7 @@ async function verify( api_key: null, api_secret: null, token, - longURL: null, + longURL: originalUrl, userAgent: userAgent }) });