You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am going to use the Honox on the Node.js runtime.
I want to serve hydration Javascript files (/static/*.js) from a different host (i.e., CDN) from the Node.js server for SSR.
constisProd=process.env.NODE_ENV==='production'module.exports={// Use the CDN in production and localhost for development.assetPrefix: isProd ? 'https://cdn.example.com' : undefined,}
The text was updated successfully, but these errors were encountered:
What is the feature you are proposing?
I am going to use the Honox on the Node.js runtime.
I want to serve hydration Javascript files (
/static/*.js
) from a different host (i.e., CDN) from the Node.js server for SSR.e.g.,
FYI: like
assetPrefix
on next.config.js (Next.js)https://nextjs.org/docs/app/api-reference/next-config-js/assetPrefix
The text was updated successfully, but these errors were encountered: