Skip to content

Commit 991fa2a

Browse files
committed
fix: separate port from baseurl
1 parent df383b8 commit 991fa2a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/uma/bin/demo.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ const path = require('path');
22
const { ComponentsManager } = require('componentsjs');
33
const { setGlobalLoggerFactory, WinstonLoggerFactory } = require('@solid/community-server');
44

5-
const protocol = process.env.UMA_DEMO_PROTOCOL ?? 'http';
6-
const host = process.env.UMA_DEMO_HOST ?? 'localhost';
75
const port = process.env.UMA_DEMO_PORT ?? 4000;
86
const policiesUrl = process.env.UMA_DEMO_POLICIES ?? 'http://localhost:3000/settings/policies/';
97

10-
const baseUrl = `${protocol}://${host}:${port}/uma`;
8+
const baseUrl = `http://localhost:${port}/uma`;
119
const rootDir = path.join(__dirname, '../');
1210

1311
const launch = async () => {

0 commit comments

Comments
 (0)