mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: generate secure secret key and prevent default
This commit is contained in:
1 parent
b9a79eb435
commit
f18ec35a9f
11 files changed
+45
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { genSecret } from '../utils/env.js'
|
||||
|
||||
function setup() {
|
||||
console.log('Setting up .env file...')
|
||||
const secret = genSecret()
|
||||
console.log(`SECRET_KEY=${secret}`)
|
||||
}
|
||||
|
||||
setup()
|
||||
Reference in new issue
Block a user