mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: multiple vulnerabilities
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { proxyBackendRequest } from '$lib/server/proxy';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = ({ request, url }) => {
|
||||
return proxyBackendRequest('/openapi', '', request, url);
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
import { proxyBackendRequest } from '$lib/server/proxy';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
export const GET: RequestHandler = ({ params, request, url }) => {
|
||||
return proxyBackendRequest('/openapi', params.path, request, url);
|
||||
};
|
||||
Reference in New Issue
Block a user