forked from OpenNeo/impress-2020
I forgot that we sometimes use the Apollo server in a context where `req` and `res` aren't present! (namely in our `build-cached-data` script.) In this change, we update the DTI-Auth-Mode HTTP header check to be cognizant that the request might be absent! |
||
|---|---|---|
| .. | ||
| __image_snapshots__ | ||
| __snapshots__ | ||
| lib | ||
| types | ||
| auth-by-db.js | ||
| auth.js | ||
| db.js | ||
| index.js | ||
| loaders.js | ||
| modeling.js | ||
| neopets-assets.js | ||
| outfit-images.js | ||
| outfit-images.test.js | ||
| util.js | ||
| util.test.js | ||