mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
5f4c19da35
Co-authored-by: Opender Singh <opender.singh@konghq.com>
10 lines
335 B
JavaScript
10 lines
335 B
JavaScript
// NOTE: this file is used by the `val-loader` webpack loader to export the NodeJS trust store during compile time.
|
|
// Do not convert it to TypeScript. It's a native node module by design.
|
|
const tls = require('tls');
|
|
|
|
module.exports = () => {
|
|
return {
|
|
code: 'module.exports = `' + tls.rootCertificates.join('\n') + '`',
|
|
};
|
|
};
|