Environment reaching the UI at the Platform

This commit is contained in:
Luis Fernando Molina committed 2021-10-25 12:55:50 +02:00
1 parent bd9fa1d162
commit 216dbbc7d2
5 files changed
+28 -7

No files matched your search

+5 -1
View File
@@ -44,7 +44,11 @@ exports.newHttpInterface = function newHttpInterface() {
let endpointOrFile = requestPath[1]
switch (endpointOrFile) {
case 'Environment':
{
SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(global.env), httpResponse)
}
break
case 'WEB3':
{
SA.projects.foundations.utilities.httpRequests.getRequestBody(httpRequest, httpResponse, processRequest)