Subdomain issue

I have this https://vip-ml.netlify.app/ when i go to https://vip-ml.netlify.app/info it does not load the page. /info is React Router config. It does work when using yarn dev and netlify dev but when i upload it here it does not. What am i missing? :frowning:

Full code source: https://github.com/MariuzM/vip-ml

Fixed by adding

[[redirects]]
	from = "/*"
	to = "https://vip-ml.netlify.app/"
	status = 200

Is this the only way to fix this?

I don’t know if it’s the only way, but it is the correct and intended way :slight_smile: