Graduate

Update utils.js

...@@ -2,7 +2,7 @@ function Utils(errorOutputId) { // eslint-disable-line no-unused-vars ...@@ -2,7 +2,7 @@ function Utils(errorOutputId) { // eslint-disable-line no-unused-vars
2 let self = this; 2 let self = this;
3 this.errorOutput = document.getElementById(errorOutputId); 3 this.errorOutput = document.getElementById(errorOutputId);
4 4
5 - const OPENCV_URL = 'opencv.js'; 5 + const OPENCV_URL = '/static/js/opencv.js';
6 this.loadOpenCv = function(onloadCallback) { 6 this.loadOpenCv = function(onloadCallback) {
7 let script = document.createElement('script'); 7 let script = document.createElement('script');
8 script.setAttribute('async', ''); 8 script.setAttribute('async', '');
......