Generate is running a second time and 500-ing hapi #89
possibly related to #54
The index.js of the hapi server asks for this:
and the restful requests are
(fun fact, I never see 'crumb put has happened' when PUT-ing to /crumbed, the 500 previously mentioned hits first).
Is this a bug with the generate function, or have I just royally failed to configure crumb?
your PUT route should now just be a normal route protected by crumb (no need to reply with that index.js file)
make sure your request to the PUT route (or any PUT, POST, DELETE, PATCH route) contains the header