update deps (#14594)

* wip

* Update ClientServerService.ts

* eslint

* Update fetch-resource.ts

* wip
This commit is contained in:
syuilo
2024-09-22 12:32:01 +09:00
committed by GitHub
parent 9ac4d3da0a
commit 76408667f3
13 changed files with 3223 additions and 4414 deletions

View File

@@ -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();
};