diff --git a/app/pods/components/full-screen-contest-view/template.hbs b/app/pods/components/full-screen-contest-view/template.hbs index 484a722..7c7fc8b 100644 --- a/app/pods/components/full-screen-contest-view/template.hbs +++ b/app/pods/components/full-screen-contest-view/template.hbs @@ -43,9 +43,11 @@
-
- -
+ {{#if contest.disallowNoFace}} +
+ +
+ {{/if}}
    diff --git a/app/pods/components/intermediate-contest-view/template.hbs b/app/pods/components/intermediate-contest-view/template.hbs index f52a6d9..2a7484a 100644 --- a/app/pods/components/intermediate-contest-view/template.hbs +++ b/app/pods/components/intermediate-contest-view/template.hbs @@ -103,7 +103,7 @@
  • • Resize the browser window
{{/if}} - {{#if contest.disallowWindowResize}} + {{#if contest.disallowNoFace}} Face detection is enabled on this contest. You will face a penalty of 10 mins every 5 secs in case :-
  • • Your face is not visible in camera.
  • diff --git a/config/environment.js b/config/environment.js index eb00d36..4b046c6 100644 --- a/config/environment.js +++ b/config/environment.js @@ -51,10 +51,10 @@ module.exports = function (environment) { // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; // ENV.APP.LOG_VIEW_LOOKUPS = true; ENV.nuxtPublicUrl = "http://localhost:8081" - ENV.publicUrl = 'http://test.hackerblocks/app/'; - // ENV.publicUrl = "http://localhost:4200/app/"; - ENV.apiHost = 'http://test.hackbackend'; - // ENV.apiHost = "http://localhost:3000"; + // ENV.publicUrl = 'http://test.hackerblocks/app/'; + ENV.publicUrl = "http://localhost:4200/app/"; + // ENV.apiHost = 'http://test.hackbackend'; + ENV.apiHost = "http://localhost:3000"; ENV.oneauthURL = "http://localhost:3838"; ENV.clientId = 3680446660; }