dbgate/printSecrets.js
2024-05-24 14:18:57 +02:00

8 lines
158 B
JavaScript

const fs = require('fs');
const text = `
module.exports = '${process.env.GIST_UPLOAD_SECRET}';
`;
fs.writeFileSync('packages/api/src/gistSecret.js', text);