mozilla / build.webmaker.org

Source behind MoFo's project tracking site
https://build.webmaker.org
Mozilla Public License 2.0
7 stars 16 forks source link

Routing bug if linking direct to /audience #39

Closed adamlofting closed 9 years ago

adamlofting commented 9 years ago

If I navigate direct to /audience, I see this: screen shot 2015-02-09 at 09 36 13

But it works if I get there via the nav from the homescreen. screen shot 2015-02-09 at 09 38 10

davidascher commented 9 years ago

Ah, my bad. Easy to fix, although the generic problem to avoid that bug again isn't trivial.

On Mon, Feb 9, 2015 at 1:38 AM, Adam Lofting notifications@github.com wrote:

If I navigate direct to /audience http://build.webmaker.org/audience, I see this: [image: screen shot 2015-02-09 at 09 36 13] https://cloud.githubusercontent.com/assets/1901816/6103739/2eaae6ec-b03f-11e4-87da-2ccb973d0965.png

But it works if I get there via the nav from the homescreen. [image: screen shot 2015-02-09 at 09 38 10] https://cloud.githubusercontent.com/assets/1901816/6103769/673f630c-b03f-11e4-9954-07a353c2fb2f.png

— Reply to this email directly or view it on GitHub https://github.com/mozilla/build.webmaker.org/issues/39.

davidascher commented 9 years ago

Need to figure out how to document the architecture so that when people add a new route, it gets added to the server.js routes, not just the clientside routes.

(or maybe add a specific route that returns the SPA on every single-word path)

davidascher commented 9 years ago

Fixed by https://github.com/mozilla/build.webmaker.org/pull/42