Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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