Skip to content

Commit

Permalink
fix: move pem down a directory to work on develop and production
Browse files Browse the repository at this point in the history
  • Loading branch information
wopian committed Jan 19, 2023
1 parent cbe93c0 commit 87de6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modalSubmissions/submitToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { alreadyLinkedReply } from '../components/accountAlreadyLinked.js'
import { database } from '../services/database.js'

const __dirname = fileURLToPath(new URL('.', import.meta.url))
const privateKey = readFileSync(join(__dirname, '../../private.pem'), 'utf8')
const privateKey = readFileSync(join(__dirname, '../private.pem'), 'utf8')

const decryptSteamId = (token: string): string =>
privateDecrypt(
Expand Down

0 comments on commit 87de6d2

Please sign in to comment.