From 343397c28203a00cb756cc33ab3903734b99072f Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Tue, 7 Feb 2017 01:39:12 +0530 Subject: [PATCH] fix: Update Gomix handler --- client/rechallenge/throwers.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/rechallenge/throwers.js b/client/rechallenge/throwers.js index 13d804f00b..d2e4b62dfc 100644 --- a/client/rechallenge/throwers.js +++ b/client/rechallenge/throwers.js @@ -49,13 +49,13 @@ const throwForJsHtml = { } } }, { - name: 'hyperdev in code', - description: 'Code with the URL hyperdev.com ' + + name: 'gomix in code', + description: 'Code with the URL gomix.me ' + 'should not be allowed to run', - detectHyperdevInCode: /hyperdev\.com/gi, - thrower: function checkForHyperdev({ contents }) { - if (contents.match(this.detectHyperdevInCode)) { - throw new Error('Hyperdev.com should not be in the code'); + detectGomixInCode: /gomix\.me/gi, + thrower: function checkForGomix({ contents }) { + if (contents.match(this.detectGomixInCode)) { + throw new Error('Gomix.me should not be in the code'); } } }