Skip to content

Commit

Permalink
Fix Logs for pub key @ index file
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadSaeedGoda committed Mar 24, 2024
1 parent 5a20832 commit 1838501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const app = express();
app.use(cors());

const publicKeyFilePath = path.resolve(__dirname, '../certs/public.pem');
console.log('Attempting to read private key from:', publicKeyFilePath);
console.log('Attempting to read public key from:', publicKeyFilePath);
const publicKey = fs.readFileSync(publicKeyFilePath, 'utf8');

app.get('/public-key', (req, res) => {
Expand Down

0 comments on commit 1838501

Please sign in to comment.