diff --git a/configManager.js b/configManager.js index f6d27aa..4db79a3 100644 --- a/configManager.js +++ b/configManager.js @@ -4,27 +4,25 @@ const CONFIG_FILE_NAME = "conf.json"; const config = fileIO.getFileAsJSON(CONFIG_FILE_NAME); module.exports= -{ + { getConfiguration: function() { - return config; + return config; }, syncToDisk: function() { - fileIO.writeJSONToFile(CONFIG_FILE_NAME, config); - // console.log(config); - // console.log("Config Updated"); + fileIO.writeJSONToFile(CONFIG_FILE_NAME, config); }, getRootDirectory: function() { - return "/home/jeff/work/aaSchool/Algo/online Lectures/"; + return "/home/jeff/work/aaSchool/Algo/online Lectures/"; }, getServerURL: function() { - return "http://localhost:5000"; + return "http://localhost:5000"; } -}; \ No newline at end of file + }; \ No newline at end of file diff --git a/html/videos.html b/html/videos.html index 05ab971..dac14f0 100644 --- a/html/videos.html +++ b/html/videos.html @@ -1,26 +1,28 @@

Videos

+
+

Videos

+
+ - - - - - - - - - - {for video in videos} - - - - - - {/for} - -
NameIconWatch
{video.name}Icon for {video.name} - View -
+
+ +
+ {for video in videos} +
+
+
+

{video.name}

+
+
+ + Icon for {video.name} + +
+
+
+ {/for} +