special key comments

This commit is contained in:
Ian Webster 2014-04-27 23:53:32 -07:00
parent eaf887fa5c
commit 6a0ebc2fa8

3
app.js
View File

@ -10,6 +10,9 @@ var express = require('express')
var access_keys;
try {
// Optionally, you may specify special access keys in a keys.json file.
// These access keys are not rate-limited.
// See example_keys.json for format.
access_keys = require('./keys.json');
} catch (e) {
access_keys = {};