freeCodeCamp/client/src/utils
Oliver Eyton-Williams ffcf8294f1
fix: fetch CSRF cookie and set headers lazily (#38452)
* fix: fetch csrf cookie and set headers lazily

* fix: check cookie each call to keep it up to date

Previously the cookie was checked once and never updated until the
client was reloaded.  Stale or absent cookies would generate incorrect
tokens or no tokens, respectively, causing CSRF errors.
2020-03-27 16:41:33 +05:30
..
ajax.js fix: fetch CSRF cookie and set headers lazily (#38452) 2020-03-27 16:41:33 +05:30
createTypes.js chore(client): Move client app to /client 2018-09-03 17:47:48 +05:30
format.js fix: use util.inspect for more reliable logging (#37880) 2019-12-06 08:37:10 -08:00
format.test.js fix: use util.inspect for more reliable logging (#37880) 2019-12-06 08:37:10 -08:00
get-words.js feat(prettier): Use prettier for client code 2018-09-07 14:37:14 +01:00
handled-error.js feat: simplify landing page 2019-09-04 18:23:21 +05:30
handled-error.test.js feat(donate): PayPal integration 2020-03-16 18:35:51 +05:30
index.js feat: remove news from platform 2019-01-16 13:48:38 +00:00
reallyWeirdErrorMessage.js fix(client):remove hyperlink from flash message (#38429) 2020-03-24 17:31:48 +01:00
report-error.js chore: remove rollbar from client and .env 2020-03-26 16:51:17 +05:30
reportedErrorMessage.js Feat: News in the client app (#34392) 2018-11-29 15:12:15 +03:00
scriptLoaders.js feat: enable MathJax for Project Euler challenges (#38017) 2020-01-07 14:14:12 +03:00
standardErrorMessage.js feat(certs): Convert certification views to gatsby 2018-09-04 19:40:07 +05:30
words.json chore(client): Move client app to /client 2018-09-03 17:47:48 +05:30