From 09aee1c9b0e99771edc39acbc2f0838efdf62a0e Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Mon, 18 May 2020 16:58:05 +0200
Subject: [PATCH] reconfigure precomputed server

---
 functions/nehubaConfig/nehubaConfig.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions/nehubaConfig/nehubaConfig.js b/functions/nehubaConfig/nehubaConfig.js
index 52f1f91a7..3ea5fd16e 100644
--- a/functions/nehubaConfig/nehubaConfig.js
+++ b/functions/nehubaConfig/nehubaConfig.js
@@ -1,5 +1,5 @@
 const fs = require('fs')
-
+const { reconfigureUrl } = require('../../deploy/util/reconfigPrecomputedServer')
 exports.handler = (ev, ctx, cb) => {
   const {
     path,
@@ -29,7 +29,7 @@ exports.handler = (ev, ctx, cb) => {
     }
     return cb(null, {
       status: 200,
-      body: data,
+      body: reconfigureUrl(data),
       headers: {
         'Content-type': 'application/json'
       }
-- 
GitLab