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
Currently it's impossible to rewrite (not redirect) a request internally on the server side without manually proxying the request which can be complex and risky if implemented improperly. It would be great to have a rewrite function similar to the existing redirect function that can used in the handle server-hook.
By rewrite I mean serving content from another path while preserving the request URL while retaining the ability to set headers, cookies, etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it's impossible to rewrite (not redirect) a request internally on the server side without manually proxying the request which can be complex and risky if implemented improperly. It would be great to have a rewrite function similar to the existing redirect function that can used in the handle server-hook.
By rewrite I mean serving content from another path while preserving the request URL while retaining the ability to set headers, cookies, etc.
Beta Was this translation helpful? Give feedback.
All reactions