Closed oritwoen closed 2 months ago
I agree. As dynamic sub-domains is not supported on Pages yet, we're also forced to build as cloudflare worker/module.
First of all, I am sorry that this break your applications.
Second, I am very pleased to see that it also works for cloudflare-module
!
Let me open a PR to fix that, you will need to specify the preset in your nuxt.config.ts
:
export default defineNuxtConfig({
nitro: {
preset: 'cloudflare-module'
}
})
Is it good for both of you @oritwoen @okydk ?
You can now safely upgrade to v0.5.16
The change from the commit: #ccdfb21 completely prevented me from using the project.
I have a project that for some reasons must use
cloudflare-module
as a preset and I am in the process of migrating the functionality and infrastructure tocloudflare-pages
one by one.In
v0.5.15
which enforces thecloudflare-pages
preset, I cannot make any changes and deploy tocloudflare-module
because this preset is overwritten with a different value.I will note here that
cloudflare-module
works very well indev
andproduction
. The entire@nuxthub/core
works perfectly on both presets:cloudflare-pages
andcloudflare-module
.I know because I have been using
@nuxthub/core
and thecloudflare-module
preset in production for several days now and everything works.At this moment I have pin version
v0.5.14
in the project.