KanoComputing / make-art

App to learn programming using a basic CoffeeScript drawing API
GNU General Public License v2.0
47 stars 37 forks source link

RPi: Serve homepage for /challenge/.* routes #412

Closed tombettany closed 6 years ago

tombettany commented 6 years ago

If the user launches a share from one of the challenge pack pages on Kano OS and then clicks the "Back" button they were presented with a 404 page because Angular handles the page redirection instead of the server. Resolve this by returning the homepage (main Angular app) from the server when all routes of the form /challenge/.* are requested.

tombettany commented 6 years ago

[P3] Clicking on a share in the Basic challenges in Make Art leads to 404 page