Skip to content

Commit

Permalink
fix: remove deprecated config.server.base (#13482)
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jun 12, 2023
1 parent 091ee95 commit dc597bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions docs/config/server-options.md
Expand Up @@ -247,12 +247,6 @@ async function createServer() {
createServer()
```

## server.base

- **Type:** `string | undefined`

Prepend this folder to http requests, for use when proxying vite as a subfolder. Should start with the `/` character.

## server.fs.strict

- **Type:** `boolean`
Expand Down
5 changes: 0 additions & 5 deletions packages/vite/src/node/server/index.ts
Expand Up @@ -94,11 +94,6 @@ export interface ServerOptions extends CommonServerOptions {
* @default false
*/
middlewareMode?: boolean | 'html' | 'ssr'
/**
* Prepend this folder to http requests, for use when proxying vite as a subfolder
* Should start and end with the `/` character
*/
base?: string
/**
* Options for files served via '/\@fs/'.
*/
Expand Down

0 comments on commit dc597bd

Please sign in to comment.