teacherfund / TeacherFund_next

A website to fund teachers discretionary spending because the government sucks at it
https://theteacherfund.com
MIT License
90 stars 87 forks source link

Use window-supported methods for accessing the query string params #79

Closed stripedpajamas closed 5 years ago

stripedpajamas commented 5 years ago

2nd part of auth flow wasn't working in staging + prod because the logic was built around using SSR which we don't use in staging and prod. Updated the logic to use the built-in methods on the window when available.

As a follow up, we might want to update npm run dev to live reload npm run now-build && serve dist, so that no more SSR-only logic gets introduced by accident.

vercel[bot] commented 5 years ago

This pull request is automatically deployed with Now. To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://teacherfund-git-fork-stripedpajamas-fix-query-strings.teacherfund1.now.sh