Skip to content

Allow injectable middleware to be used on static asset paths when a global prefix is present #2549

Description

@tristan957

Bug Report

Current behavior

When using a global prefix, static assets do not sit behind the global prefix. When applying injectable middlewares in the AppModule.configure function, the middlewares only apply to routes behind the global prefix.

Expected behavior

Be able to use injectable middleware to protect static asset paths when a global prefix is in use.

Use case: Protecting static content

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