Skip to content

csp-manifest.json in wrong directory #86

@Cirelion

Description

@Cirelion

I have a app that's running on NextJS using NX as a monorepo tool. The consequence of this is that my .next directory is in a different directory from the project root.
next-safe-middleware seems to inject a directory called ~csp into the .next/static directory. This is wrong for my use-case and is the most likely reason for next-safe-middleware not working in my app.

Is there any way to override the default .next directory location?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions