mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 21:06:04 +00:00
indent numbered lists content, clarified media serve locations
This commit is contained in:
@@ -33,8 +33,7 @@ This will automatically configure the S3 adapter for you.
|
|||||||
|
|
||||||
2. Enable programmatically.
|
2. Enable programmatically.
|
||||||
|
|
||||||
To enable using a code-first approach, create an [Initial Structure](/usage/database#initial-structure) using the
|
To enable using a code-first approach, create an [Initial Structure](/usage/database#initial-structure) using the `initialConfig` option in your `bknd.config.ts` file.
|
||||||
`initialConfig` option in your `bknd.config.ts` file.
|
|
||||||
|
|
||||||
```typescript bknd.config.ts
|
```typescript bknd.config.ts
|
||||||
import type { BkndConfig } from "bknd/adapter";
|
import type { BkndConfig } from "bknd/adapter";
|
||||||
@@ -80,5 +79,5 @@ export default {
|
|||||||
```
|
```
|
||||||
|
|
||||||
This configuration will store uploaded files in the specified directory,
|
This configuration will store uploaded files in the specified directory,
|
||||||
making them accessible through your application's public path or wherever
|
making them accessible through your application's public path (in this case)
|
||||||
you choose.
|
or at `/api/media/file/{filename}`.
|
||||||
|
|||||||
Reference in New Issue
Block a user