Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support public-URL, other than "http://localhost:8080" #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export USERNAME=
export PASSWORD=
export DOMAIN=
export PORT=
export PUBLIC_URL=
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ There are three main directories in the `ui-react/src/` folder:
};
```

* Alternatively, username, password and domain can be set as environment variable
* Alternatively, username, password and domain and public-URL can be set as environment variable. Keep in mind that if
a public-URL has been provided, this environment variable already has to be set during the build-lifecycle

```bash
export [email protected]
export PASSWORD=password
export DOMAIN=domain.com
export PUBLIC_URL=http://meet-easier.domain.com
```

* In `/ui-react/src/config/flightboard.config.js`, manage your customizations:
Expand Down
2 changes: 1 addition & 1 deletion ui-react/src/config/flightboard.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ module.exports = {
},

'socket' : {
'endpoint' : 'http://localhost:8080',
'endpoint' : `${process.env.PUBLIC_URL || 'http://localhost:8080'}`,
}
};