More Client Reorg

This commit is contained in:
Luis Fernando Molina committed 2021-09-05 12:59:53 +02:00
1 parent 2a88a3778a
commit 2d6eb2a8b8
10 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1192,7 +1192,7 @@ exports.newHttpInterface = function newHttpInterface() {
break
case 'Files':
{
SA.projects.foundations.utilities.httpResponses.respondWithFile(global.env.PATH_TO_CLIENT + '/UI/Data-Files/src/' + requestPath[2], httpResponse)
SA.projects.foundations.utilities.httpResponses.respondWithFile(global.env.PATH_TO_CLIENT + '/UI/Data-Files/' + requestPath[2], httpResponse)
}
break
case 'Fonts':
+2 -2
View File
@@ -42,8 +42,8 @@
if (LOG_INFO === true) {
console.log('Message Received: ' + message.substring(0, 1000))
}
let messageArray = message.split('|*|')
let messageArray = message.toString().split('|*|')
let origin = messageArray[0]
let nonce = messageArray[1]
File renamed without changes.
@@ -182,7 +182,7 @@ exports.newFoundationsUtilitiesHttpResponses = function () {
let fs = SA.nodeModules.fs
let fileName = pathToApp + '/WebServer/index.html'
console.log(fileName)
fs.readFile(fileName, onFileRead)
function onFileRead(err, file) {