Skip to content

Option to read assets on startup #2942

@cyberalien

Description

@cyberalien

Describe the feature

Currently when building in Nuxt, Nitro caches list of assets in server/chunks/nitro/nitro.mjs and serves only those assets, ignoring actual contents of public.

However, I want to keep serving static assets from previous deployment, which are in public directory. It would be awesome if there was an option to read public directory on startup instead of serving hardcoded set of assets.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions