jappe999/project-cards

Redirect to index

Closed this issue · 0 comments

Expected Behavior

I should be redirect to either /login or /game if I load the index route /.

Current Behavior

I get a 404 error when I try to load /.

Possible Solution

Add a placeholder page for index and redirect to /game.

Steps to Reproduce (for bugs)

  1. Load the app on /
  2. Receive a 404 error
  3. Load the app on /game
  4. Receive a 200 OK

Context

I cannot use the app when I don't know what the correct route is.

Your Environment

  • Version used: 1.0
  • Environment name and version (e.g. Chrome 39, node.js 5.4): Firefox 70
  • Operating System and version (desktop or mobile): Desktop