1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-07 06:54:49 +00:00

fix for mixed content warnings

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-08-08 09:34:58 -04:00
parent 3c8b8c49c7
commit 4c72b80cee
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

View File

@ -12,6 +12,9 @@ async function setupAPI() {
let express = require("express");
let app = express();
/* accept headers like x-forwarded-proto from proxies */
app.set('trust proxy', 'loopback')
setupPreRoutedAppMiddlewares(app);
let APIRouter = require('./routes/api-router');