diff options
Diffstat (limited to 'node-mastodon/lib/settings.js')
-rw-r--r-- | node-mastodon/lib/settings.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node-mastodon/lib/settings.js b/node-mastodon/lib/settings.js new file mode 100644 index 0000000..f6d5411 --- /dev/null +++ b/node-mastodon/lib/settings.js @@ -0,0 +1,2 @@ +// set of status codes where we don't attempt reconnecting to Mastodon +exports.STATUS_CODES_TO_ABORT_ON = [ 400, 401, 403, 404, 406, 410, 422 ]; |