fix: add modes export, fix event firing with modes and cloudflare

This commit is contained in:
dswbx
2025-10-28 09:18:16 +01:00
parent 2847e64b77
commit ef41b71921
10 changed files with 33 additions and 10 deletions

View File

@@ -295,6 +295,7 @@ export class App<
return this.module.auth.createUser(p);
}
// @todo: potentially add option to clone the app, so that when used in listeners, it won't trigger listeners
getApi(options?: LocalApiOptions) {
const fetcher = this.server.request as typeof fetch;
if (options && options instanceof Request) {