mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix: silent proxy errors
This commit is contained in:
parent
e56178a872
commit
239c69d92a
@ -72,8 +72,8 @@ export function createDevServer (sigmaContext: SigmaContext) {
|
||||
const proxy = createProxy()
|
||||
app.use((req, res) => {
|
||||
if (workerAddress) {
|
||||
proxy.web(req, res, { target: workerAddress }, (err) => {
|
||||
console.error('[proxy]', err)
|
||||
proxy.web(req, res, { target: workerAddress }, (_err) => {
|
||||
// console.error('[proxy]', err)
|
||||
})
|
||||
} else if (loadingMiddleware) {
|
||||
// TODO:serverIndex method is not exposed
|
||||
|
Loading…
Reference in New Issue
Block a user