mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 04:00:59 +00:00
8 lines
158 B
JavaScript
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);
|