dbgate/printSecrets.js

8 lines
158 B
JavaScript
Raw Permalink Normal View History

2024-05-24 12:18:57 +00:00
const fs = require('fs');
const text = `
module.exports = '${process.env.GIST_UPLOAD_SECRET}';
`;
fs.writeFileSync('packages/api/src/gistSecret.js', text);