joyent-portal/bundle/.env.js
2018-04-05 17:58:53 +01:00

9 lines
201 B
JavaScript

'use strict';
const { homedir } = require('os');
const { join } = require('path');
const { SDC_KEY_PATH } = process.env;
process.env.SDC_KEY_PATH = SDC_KEY_PATH || join(homedir(), './.ssh/id_rsa');