mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
11 lines
348 B
JavaScript
11 lines
348 B
JavaScript
import axiosInstance from "../../../../../utils/axiosInstance.js";
|
|
|
|
export async function GET(request, { params }) {
|
|
const { pid } = params;
|
|
const napcatResp = await axiosInstance.get(`/${ pid }`);
|
|
return new Response(JSON.stringify(napcatResp), {
|
|
status: 200,
|
|
headers: { 'Content-Type': 'application/json' },
|
|
});
|
|
}
|