File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ TLS + HTTP/2 を有効にします。
80
80
81
81
プレビューサーバーのカスタムプロキシのルールを設定します。` { key: options } ` のペアのオブジェクトが必要です。キーが ` ^ ` で始まる場合は ` RegExp ` として解釈されます。プロキシのインスタンスにアクセスするには ` configure ` オプションを使用します。
82
82
83
- [ ` http-proxy ` ] ( https://github.com/http-party/node- http-proxy ) を使用します。全オプションは[ こちら] ( https://github.com/http-party/node- http-proxy#options ) 。
83
+ [ ` http-proxy-3 ` ] ( https://github.com/sagemathinc/ http-proxy-3 ) を使用します。全オプションは[ こちら] ( https://github.com/sagemathinc/ http-proxy-3 #options ) 。
84
84
85
85
## preview.cors
86
86
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default defineConfig({
122
122
123
123
相対的でない [ ` base ` ] ( /config/shared-options.md#base ) を使用する場合、各キーの先頭に ` base ` を付けなければならないことに注意してください。
124
124
125
- [ ` http-proxy ` ] ( https://github.com/http-party/node- http-proxy#options ) を拡張します。他のオプションは[ こちら] ( https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/middlewares/proxy.ts#L13 ) 。
125
+ [ ` http-proxy-3 ` ] ( https://github.com/sagemathinc/ http-proxy-3 #options ) を拡張します。他のオプションは[ こちら] ( https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/middlewares/proxy.ts#L13 ) 。
126
126
127
127
場合によっては、基盤となる開発サーバーを設定したいこともあるでしょう(例: 内部の [ connect] ( https://github.com/senchalabs/connect ) アプリにカスタムミドルウェアを追加する場合など)。そのためには、独自の [ plugin] ( /guide/using-plugins.html ) を書き、[ configureServer] ( /guide/api-plugin.html#configureserver ) 関数を使用する必要があります。
128
128
You can’t perform that action at this time.
0 commit comments