2020-04-17 13:08:38 +02:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
<title>OpenVidu</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Welcome to OpenVidu</h1>
|
|
|
|
<ul>
|
2022-02-28 13:51:26 +01:00
|
|
|
<li>
|
|
|
|
<strong>OpenVidu Server URL: </strong><span id="rest-api-url"></span>
|
|
|
|
<small>
|
|
|
|
(consume <a href="https://docs.openvidu.io/en/stable/reference-docs/REST-API/" target="_blank">REST API</a> in this URL)
|
|
|
|
</small>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<strong>OpenVidu Dashboard: </strong><span id="dashboard-url"></span>
|
|
|
|
</li>
|
2020-04-17 13:08:38 +02:00
|
|
|
</ul>
|
|
|
|
</body>
|
|
|
|
<script>
|
|
|
|
window.onload = function() {
|
|
|
|
var restApiUrl = window.location.origin.replace(/\/$/, "");
|
|
|
|
var dashboardUrl = window.location.origin.replace(/\/$/, "")
|
|
|
|
+ "/dashboard";
|
|
|
|
document.getElementById("rest-api-url").innerHTML = restApiUrl;
|
|
|
|
document.getElementById("dashboard-url").innerHTML = "<a href='"+ dashboardUrl + "' target='_blank'>"
|
|
|
|
+ dashboardUrl + "</a>";
|
|
|
|
}
|
|
|
|
</script>
|
2022-02-28 13:51:26 +01:00
|
|
|
</html>
|