mirror of
https://github.com/KohakuBlueleaf/KohakuHub.git
synced 2026-05-05 11:57:48 -05:00
8 lines
250 B
JavaScript
8 lines
250 B
JavaScript
import { proxyToAPI } from '../_proxy.js';
|
|
|
|
export async function onRequest(context) {
|
|
// Strip /api prefix if your backend doesn't expect it
|
|
// Remove the second parameter if your backend expects /api in the path
|
|
return proxyToAPI(context);
|
|
}
|