Skip to content

Commit

Permalink
Bugfix: Build authoring URL correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBizzle committed Jan 7, 2024
1 parent 1d51256 commit 05cf7d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions html/embed-authoring.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@

</body>

<script>
<script type="module">

const proto = window.location.protocol;
const host = window.location.hostname;
const url = `${proto}//${host}:9000/hnw/authoring?embedded=true`;
import { galapagos, galaProto } from "/js/static/domain.js";

const url = `${galaProto}://${galapagos}/hnw/authoring?embedded=true`;
const frame = document.getElementById("embed-frame");
frame.src = url;

Expand Down

0 comments on commit 05cf7d9

Please sign in to comment.