Embedded demo: Make links relative

Otherwise https://converse.js/trunk/demo/embedded.html wrongly uses files from the site root.
This commit is contained in:
JC Brand 2021-11-14 08:20:29 +01:00
parent ecfc3e9fcf
commit 5dd0065936
2 changed files with 10 additions and 9 deletions

View File

@ -10,20 +10,20 @@
<meta name="keywords" content="xmpp chat webchat converse.js Converse" /> <meta name="keywords" content="xmpp chat webchat converse.js Converse" />
<!-- These files are NOT needed when using converse.js in your own project. --> <!-- These files are NOT needed when using converse.js in your own project. -->
<link rel="shortcut icon" type="image/ico" href="/dist/favicon.ico"/> <link rel="shortcut icon" type="image/ico" href="../dist/favicon.ico"/>
<link type="text/css" rel="stylesheet" media="screen" href="/dist/website.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="../dist/website.min.css" />
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <noscript><p><img src="https://stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<script type="text/javascript" src="analytics.js"></script> <script type="text/javascript" src="/analytics.js"></script>
<!-- *********************************************************************** --> <!-- *********************************************************************** -->
<link rel="manifest" href="/manifest.json"> <link rel="manifest" href="../manifest.json">
<link type="text/css" rel="stylesheet" media="screen" href="/dist/converse.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="../dist/converse.min.css" />
<script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script> <script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script>
<script src="/dist/converse.min.js"></script> <script src="../dist/converse.min.js"></script>
<style> <style>
.converse-container { .converse-container {
height: 55vh; height: 50vh;
} }
</style> </style>
</head> </head>
@ -44,7 +44,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<h1 class="brand-heading fade-in"> <h1 class="brand-heading fade-in" style="margin-bottom: 0">
<svg class="converse-svg-logo" <svg class="converse-svg-logo"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"

1
package-lock.json generated
View File

@ -5,6 +5,7 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "converse.js",
"version": "8.0.1", "version": "8.0.1",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {