Changeset e29cc2e for trip-planner-front/node_modules/karma/lib/middleware
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/karma/lib/middleware/karma.js
r59329aa re29cc2e 46 46 const query = getQuery(url) 47 47 if (query['x-ua-compatible']) { 48 return ` \n<meta http-equiv="X-UA-Compatible" content="${query['x-ua-compatible']}"/>`48 return `<meta http-equiv="X-UA-Compatible" content="${query['x-ua-compatible']}"/>` 49 49 } 50 50 return '' … … 108 108 return serveStaticFile('/client.html', requestedRangeHeader, response, (data) => 109 109 data 110 .replace(' \n%X_UA_COMPATIBLE%', getXUACompatibleMetaElement(request.url))110 .replace('%X_UA_COMPATIBLE%', getXUACompatibleMetaElement(request.url)) 111 111 .replace('%X_UA_COMPATIBLE_URL%', getXUACompatibleUrl(request.url))) 112 112 } … … 227 227 .replace('%SCRIPT_URL_ARRAY%', () => 'window.__karma__.scriptUrls = ' + JSON.stringify(scriptUrls) + ';\n') 228 228 .replace('%MAPPINGS%', () => 'window.__karma__.files = {\n' + mappings.join(',\n') + '\n};\n') 229 .replace(' \n%X_UA_COMPATIBLE%', getXUACompatibleMetaElement(request.url))229 .replace('%X_UA_COMPATIBLE%', getXUACompatibleMetaElement(request.url)) 230 230 }) 231 231 })
Note:
See TracChangeset
for help on using the changeset viewer.