You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prefer using error and redirect over using Response. There might be some advanced cases where Response is required, but it shouldn't be for simple ones
Examples
<!-- ✓ GOOD -->
redirect(307,"/");
<!-- ✗ BAD -->
returnnewResponse(null,{status: 307,headers: {Location: "/"}});
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Motivation
See lucia-auth/example-sveltekit-google-oauth#1 for an example
Description
Prefer using
error
andredirect
over usingResponse
. There might be some advanced cases whereResponse
is required, but it shouldn't be for simple onesExamples
Additional comments
No response
The text was updated successfully, but these errors were encountered: