Skip to content

Commit

Permalink
revert ssl shim removal b/c breaking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cwli24 committed Sep 17, 2024
1 parent 324fa70 commit c22c99b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { Transform } = require('stream')
const path = require('path')
const fs = require('fs')
const sslShim = require('./ssl-shim')
const { paths } = require('../../constants')

/**
Expand Down Expand Up @@ -73,7 +74,7 @@ module.exports = function (request, reply, testServer) {
null,
chunkString.replace(
'{loader}',
`${loaderScript}`
`<script type="text/javascript" ${nonce}>${sslShim}</script>${loaderScript}`
)
)
} else {
Expand Down

0 comments on commit c22c99b

Please sign in to comment.