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
The current SvelteKit Reroute functionality doesn't support dynamic rerouting for localization where settings are stored in a database. We need to implement a multi-domain, multi-prefix localization system that allows flexible domain/language combinations.
Describe the problem
The current SvelteKit Reroute functionality doesn't support dynamic rerouting for localization where settings are stored in a database. We need to implement a multi-domain, multi-prefix localization system that allows flexible domain/language combinations.
Example configuration:
Domain/prefix mappings:
Describe the proposed solution
Modify the Reroute function to return
MaybePromise<void | string>
and update its implementation inserver/response.js
andclient/client.js
.A proof-of-concept implementation: nikosgram@70d808e
I would appreciate feedback on this approach to ensure I'm not overlooking any potential issues or better alternatives.
Alternatives considered
No response
Importance
i cannot use SvelteKit without it
Additional Information
No response
The text was updated successfully, but these errors were encountered: