Skip to content

Content base should have precedence over proxy #1131

Closed
@jacobp100

Description

@jacobp100

If I have a proxy set up for /, I would expect it to take all unrecognised requests. However, the proxy has precedence over contentBase, so my requests are going to the proxy, which serves a 404 page.

Is this the intended behaviour?

if (options.proxy) { defaultFeatures.push('proxy', 'middleware'); }
if (contentBase !== false) { defaultFeatures.push('contentBaseFiles'); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions