]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6387 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Oct 2023 17:27:33 +0000 (19:27 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 Oct 2023 17:27:33 +0000 (19:27 +0200)
js/quiz.attemptslog.js

index 5dbd1e47d6d2bc14ff1be054069d0160cd516d0c..0b15c1c4db1334a82846e5aaca8930da8cd158c2 100644 (file)
@@ -18,7 +18,7 @@ QuizAttemptsLog.prototype = {
             score: score, passed: this.quiz.score.isPassed(), questions: this.getQuestionsToLog(),
         };
 
-        let dom = this.quiz.data.env === 'dev' ? 'dev.toolbox.fluidbook.com' : 'toolbox.fluidbook.com';
+        let dom = this.quiz.data.env === 'development' ? 'dev.toolbox.fluidbook.com' : 'toolbox.fluidbook.com';
 
         axios({
             url: 'https://' + dom + '/quiz/' + this.quiz.data.id + '/log',