mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 08:28:59 +00:00
17 lines
411 B
JavaScript
17 lines
411 B
JavaScript
/**
|
|
* This route lets us get the public key of infisical. Th euser doesn't have to be authenticated since this is just the public key.
|
|
* @param {*} req
|
|
* @param {*} res
|
|
* @returns
|
|
*/
|
|
const publicKeyInfisical = (req, res) => {
|
|
return fetch("/api/v1/key/publicKey/infisical", {
|
|
method: "GET",
|
|
headers: {
|
|
"Content-Type": "application/json",
|
|
},
|
|
});
|
|
};
|
|
|
|
export default publicKeyInfisical;
|