routing-controllers icon indicating copy to clipboard operation
routing-controllers copied to clipboard

Set HttpCode other than default 302 on @Redirect

Open ETNOL opened this issue 6 years ago • 4 comments

Is it possible to set a different status code other than 302 when using the @Redirect decorator? Neither @HttpCode nor response.status(301) seem to work.

ETNOL avatar Mar 01 '18 21:03 ETNOL