diff --git a/docs/content/3.config.md b/docs/content/3.config.md index 58ef1dc708..f5b59cc659 100644 --- a/docs/content/3.config.md +++ b/docs/content/3.config.md @@ -376,6 +376,18 @@ This option is useful when your hosting provider does not give you an option reg The prerenderer will attempt to render pages 3 times with a delay of 500ms. Use `retry` and `retryDelay` to change this behavior. +### `apiPrefix` + +- Default : `/api` + +Changes the api URL prefix + +### `routesPrefix` + +- Default : `/` + +Changes the routes URL prefix + ## Directories ### `rootDir` @@ -392,6 +404,18 @@ Project source directory. Same as `rootDir` unless specified. Helpful to move co List of directories to scan and auto-register files, such as API routes. +### `apiDir` + +- Default : `api` + +Defines a different directory for api handlers + +### `routesDir` + +- Default : `routes` + +Defines a different directory for routes handlers + ### `buildDir` - Default: `.nitro`