From cb418a41970925b8329bba6c96b5e5adb10f19d0 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 3 Mar 2025 10:03:06 +0000 Subject: [PATCH 1/2] fix(dev): allow all hosts on codesandbox --- packages/nuxi/src/utils/dev.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nuxi/src/utils/dev.ts b/packages/nuxi/src/utils/dev.ts index d6f4dca75..eb648bd18 100644 --- a/packages/nuxi/src/utils/dev.ts +++ b/packages/nuxi/src/utils/dev.ts @@ -15,6 +15,7 @@ import { createJiti } from 'jiti' import { listen } from 'listhen' import { join, relative, resolve } from 'pathe' import { debounce } from 'perfect-debounce' +import { provider } from 'std-env' import { joinURL } from 'ufo' import { clearBuildDir } from '../utils/fs' @@ -360,7 +361,7 @@ export function _getDevServerOverrides(listenOptions: Partial Date: Mon, 3 Mar 2025 10:21:51 +0000 Subject: [PATCH 2/2] fix: use csb variable --- packages/nuxi/src/utils/dev.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nuxi/src/utils/dev.ts b/packages/nuxi/src/utils/dev.ts index eb648bd18..38c31ac44 100644 --- a/packages/nuxi/src/utils/dev.ts +++ b/packages/nuxi/src/utils/dev.ts @@ -15,7 +15,6 @@ import { createJiti } from 'jiti' import { listen } from 'listhen' import { join, relative, resolve } from 'pathe' import { debounce } from 'perfect-debounce' -import { provider } from 'std-env' import { joinURL } from 'ufo' import { clearBuildDir } from '../utils/fs' @@ -361,7 +360,8 @@ export function _getDevServerOverrides(listenOptions: Partial