Skip to content

public asset path dynamic update base on enviroment variables #1

@dregul4rdev

Description

@dregul4rdev

Base on NExt Doc: "
While assetPrefix covers requests to _next/static, it does not influence the following paths:

Files in the public folder; if you want to serve those assets over a CDN, you'll have to introduce the prefix yourself"

https://nextjs.org/docs/app/api-reference/config/next-config-js/assetPrefix

Idea

https://nextjs.org/docs/app/building-your-application/configuring/environment-variables

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions