You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
274 B

6 years ago
import * as path from 'path';
import * as fs from 'fs';
export const EXPORTED_PATH = path.join(__dirname, '../exported');
export function getApiKey(host) {
6 years ago
let data = fs.readFileSync(path.join(__dirname, '../api-keys.json'), 'utf8');
return JSON.parse(data)[host]
6 years ago
}