Skip to content

Instantly share code, notes, and snippets.

@jeff-kilbride
Created October 17, 2017 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeff-kilbride/ac618985840c4ef46aaa6f8ebe5aa4d2 to your computer and use it in GitHub Desktop.
Save jeff-kilbride/ac618985840c4ef46aaa6f8ebe5aa4d2 to your computer and use it in GitHub Desktop.
Plugin config file
'use strict';
module.exports = {
host: process.env.API_HOST,
keys: {
private: process.env.API_KEY
},
endpoints: [
['admin.alive', '/admin/alive'],
['admin.impersonate', '/ap/impersonate'],
// ... Lots of other endpoints
],
cache: {
clearPass: process.env.CACHE_PASSWORD,
basePath: '/admin/cache/clear/key',
path: {
video: 'Video',
videoList: 'VideoList',
videoCount: 'VideoCount',
packageSite: 'PackageSite'
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment