Skip to content

Commit a27b41b

Browse files
committed
bug fix - integrationconfig caching
1 parent f26b6ea commit a27b41b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ViewerRequest/integrationConfigProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exports.getConfig = async function (configUrl) {
2020
resp.on('end', () => {
2121
if (resp.statusCode == 200) {
2222
var newCached = {
23-
expirationTime: new Date() + CacheTimeoutMS,
23+
expirationTime: (Date.now()) + CacheTimeoutMS,
2424
integrationConfig: data
2525
};
2626
GlobalCache = newCached;

ViewerRequest/queueitHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CLOUDFRONT_SDK_VERSION ="1.2.0";
1+
const CLOUDFRONT_SDK_VERSION ="1.2.1";
22
const QueueIT = require("./sdk/queueit-knownuserv3-sdk.js");
33
exports.addKUPlatformVersion= function(redirectQueueUrl)
44
{

0 commit comments

Comments
 (0)