update deps (#14594)
* wip * Update ClientServerService.ts * eslint * Update fetch-resource.ts * wip
This commit is contained in:
@@ -8,7 +8,7 @@ import type { onRequestHookHandler } from 'fastify';
|
||||
export const handleRequestRedirectToOmitSearch: onRequestHookHandler = (request, reply, done) => {
|
||||
const index = request.url.indexOf('?');
|
||||
if (~index) {
|
||||
reply.redirect(301, request.url.slice(0, index));
|
||||
reply.redirect(request.url.slice(0, index), 301);
|
||||
}
|
||||
done();
|
||||
};
|
||||
|
Reference in New Issue
Block a user