| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,11 +35,11 @@ if (!common.hasCrypto) | |||
| 35 | 35 | const assert = require('assert'); | |
| 36 | 36 | const https = require('https'); | |
| 37 | 37 | const tls = require('tls'); | |
| 38 | - const fs = require('fs'); | ||
| 38 | + const fixtures = require('../common/fixtures'); | ||
| 39 | 39 | ||
| 40 | 40 | const options = { | |
| 41 | - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| 42 | - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) | ||
| 41 | + key: fixtures.readKey('agent1-key.pem'), | ||
| 42 | + cert: fixtures.readKey('agent1-cert.pem') | ||
| 43 | 43 | }; | |
| 44 | 44 | ||
| 45 | 45 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments