Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Directly going to non root route on first load = 404 #123

Closed
@rolandpeelen

Description

@rolandpeelen

I started using the buildpack and I have this app running that works fine with the regular (non builded version) when just pushing to heroku. Unfortunately, with the buildpack, when going directly to a url that is not the root (ie /x/:id for instance), I get a 404.

Example: https://bachkoor-v2-frontend-staging.herokuapp.com/events/5b88f17e551c85002c181932

This is still running a free tier dyno, might take a bit to load

Any clue as to what is going wrong?

It seems that as soon as the page is loaded once, it can resolve through the service worker, but if it hasn't been, then it doesn't fetch it properly :)

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