Skip to content

Routes not working with Nova #8

Open
@lamalamaMark

Description

@lamalamaMark

When you use the whitelist route in routes/web.php it is not possible to access the API routes created by Nova. These can be excluded by using

Route::get('/{any}', 'SpaController@index')->where('any', '^(?!nova-api).*$');

instead of

Route::get('/{any}', 'SpaController@index')->where('any', '.*');

Added a Pull request: #9

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