Deleted hashbang
Fixed broken redirect in Flask app
Got URLs opening properly with a little Regex.