Skip to content

Commit

Permalink
refactored code in index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lumandra committed May 31, 2024
1 parent 94b2eb0 commit 33b75ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ app.post('/users_code', bodyParser.json(), async (req, res, next) => {


if (DASHBOARD_ACTIVATED) {
const options = {

}
const dashboardConfig = {
apps: [{
serverURL: URL_SERVER,
Expand All @@ -125,12 +128,9 @@ if (DASHBOARD_ACTIVATED) {
masterKey: MASTER_KEY,
appName: parseConfig.appName
}],
trustProxy: 1,
PARSE_DASHBOARD_COOKIE_SESSION_SECRET: APP_ID,
PARSE_DASHBOARD_ALLOW_INSECURE_HTTP: 1,
PARSE_DASHBOARD_TRUST_PROXY: 1,
cookieSessionSecret: "IgniteForge",
cookieSessionSecret: APP_ID,
allowInsecureHTTP: 1,
trustProxy: 1
};

if (DASH_USER_EMAIL && DASH_USER_PASSWORD)
Expand Down

0 comments on commit 33b75ed

Please sign in to comment.