mirror of https://github.com/dap-ps/discover.git
fix for mixed content warnings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c5eefadc02
commit
9277a0f1be
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue