| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,11 +14,11 @@ if (!common.hasCrypto) | |||
| 14 | 14 | const assert = require('assert'); | |
| 15 | 15 | const https = require('https'); | |
| 16 | 16 | const tls = require('tls'); | |
| 17 | - const fs = require('fs'); | ||
| 17 | + const fixtures = require('../common/fixtures'); | ||
| 18 | 18 | ||
| 19 | 19 | const options = { | |
| 20 | - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| 21 | - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) | ||
| 20 | + key: fixtures.readKey('agent1-key.pem'), | ||
| 21 | + cert: fixtures.readKey('agent1-cert.pem') | ||
| 22 | 22 | }; | |
| 23 | 23 | ||
| 24 | 24 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments