fix: serverless-client doc references

This commit is contained in:
Daniel Rochetti 2023-11-21 13:26:51 -08:00
parent 7c0b5ba878
commit a6624f4487
No known key found for this signature in database
GPG Key ID: 791E89AB68BDD5DB
3 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ For example, if you are using Next.js, you can:
``` ```
3. Configure the client to use the proxy: 3. Configure the client to use the proxy:
```ts ```ts
import * as fal from '@fal-ai/serverless-js'; import * as fal from '@fal-ai/serverless-client';
fal.config({ fal.config({
requestMiddleware: fal.withProxy({ requestMiddleware: fal.withProxy({
targetUrl: '/api/fal/proxy', targetUrl: '/api/fal/proxy',

View File

@ -11,7 +11,7 @@ The `fal.ai` JavaScript Client Library provides a seamless way to interact with
Before diving into the client-specific features, ensure you've set up your credentials: Before diving into the client-specific features, ensure you've set up your credentials:
```ts ```ts
import * as fal from '@fal-ai/serverless-js'; import * as fal from '@fal-ai/serverless-client';
fal.config({ fal.config({
// Can also be auto-configured using environment variables: // Can also be auto-configured using environment variables:

View File

@ -65,7 +65,7 @@ For Express applications:
Once you've set up the proxy, you can configure the client to use it: Once you've set up the proxy, you can configure the client to use it:
```ts ```ts
import * as fal from '@fal-ai/serverless-js'; import * as fal from '@fal-ai/serverless-client';
fal.config({ fal.config({
requestMiddleware: fal.withProxy({ requestMiddleware: fal.withProxy({