|
@@ -273,13 +273,7 @@ class InfoDialog extends Component {
|
273
|
273
|
= encodeURIComponent(this.props._conferenceName);
|
274
|
274
|
const pathParts = window.location.pathname.split('/');
|
275
|
275
|
|
276
|
|
- // More than two parts implies the path consists of more than the first
|
277
|
|
- // forward slash and the meeting name. If that is the case, drop the
|
278
|
|
- // last segment of the path, which we assume is the meeting name. This
|
279
|
|
- // is necessary when is hosted on a url with a path.
|
280
|
|
- if (pathParts.length > 2) {
|
281
|
|
- pathParts.length = pathParts.length - 1;
|
282
|
|
- }
|
|
276
|
+ pathParts.length = pathParts.length - 1;
|
283
|
277
|
|
284
|
278
|
const newPath = pathParts.reduce((accumulator, currentValue) => {
|
285
|
279
|
if (currentValue) {
|