joyent-portal/bundle/.env.js

9 lines
201 B
JavaScript
Raw Normal View History

2018-03-29 16:43:30 +03:00
'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');