| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e4f0483 commit f849655
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,11 +6,11 @@ if (!common.hasCrypto) | |||
| 6 | 6 | ||
| 7 | 7 | common.refreshTmpDir(); | |
| 8 | 8 | ||
| 9 | - const fs = require('fs'); | ||
| 9 | + const fixtures = require('../common/fixtures'); | ||
| 10 | 10 | const https = require('https'); | |
| 11 | 11 | const options = { | |
| 12 | - cert: fs.readFileSync(`${common.fixturesDir}/test_cert.pem`), | ||
| 13 | - key: fs.readFileSync(`${common.fixturesDir}/test_key.pem`) | ||
| 12 | + cert: fixtures.readSync('test_cert.pem'), | ||
| 13 | + key: fixtures.readSync('test_key.pem') | ||
| 14 | 14 | }; | |
| 15 | 15 | ||
| 16 | 16 | const server = https.createServer(options, common.mustCall((req, res) => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments