Skip to content

Commit dc597bd

Browse files
authoredJun 12, 2023
fix: remove deprecated config.server.base (#13482)
1 parent 091ee95 commit dc597bd

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed
 

‎docs/config/server-options.md

-6
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,6 @@ async function createServer() {
247247
createServer()
248248
```
249249

250-
## server.base
251-
252-
- **Type:** `string | undefined`
253-
254-
Prepend this folder to http requests, for use when proxying vite as a subfolder. Should start with the `/` character.
255-
256250
## server.fs.strict
257251

258252
- **Type:** `boolean`

‎packages/vite/src/node/server/index.ts

-5
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ export interface ServerOptions extends CommonServerOptions {
9494
* @default false
9595
*/
9696
middlewareMode?: boolean | 'html' | 'ssr'
97-
/**
98-
* Prepend this folder to http requests, for use when proxying vite as a subfolder
99-
* Should start and end with the `/` character
100-
*/
101-
base?: string
10297
/**
10398
* Options for files served via '/\@fs/'.
10499
*/

0 commit comments

Comments
 (0)
Please sign in to comment.