-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In our Electron app we use Fal-Client in the Main side of the app to better interface with user's filesystem.
However this flag here will prevent fal-client from using a proxy as window is never exposed in the main thread.
fal-js/libs/client/src/middleware.ts
Lines 50 to 52 in a90a632
| // when running on the server, we don't need to proxy the request | |
| if (typeof window === "undefined") { | |
| return passthrough; |
I know you can make custom middleware for more advanced usage like us , and I don't have a solution (other than removing this ), but I just wanted to to point this doesn't work for our use case.
drochetti
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request