8000 fix: force nitro preset only in production when remote is disabled · nuxt-hub/core@caed55b · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit caed55b

Browse files
committed
fix: force nitro preset only in production when remote is disabled
1 parent 69994d7 commit caed55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export default defineNuxtModule<ModuleOptions>({
258258
})
259259
}
260260

261-
if (!nuxt.options.dev) {
261+
if (!nuxt.options.dev && !hub.remote) {
262262
// Make sure to fallback to cloudflare-pages preset
263263
let preset = nuxt.options.nitro.preset = nuxt.options.nitro.preset || 'cloudflare-pages'
264264
// Support also cloudflare_module

0 commit comments

Comments
 (0)
0