Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Feb 17, 2025
1 parent 6cb8182 commit 16d1ed7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontends/server/frontend/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

</style>
<script type="module" crossorigin src="/assets/index-lDVFJGQ_.js"></script>
<script type="module" crossorigin src="/assets/index-nuTWBz-P.js"></script>
</head>
<body>
<div id='lem-editor'></div>
Expand Down
1 change: 1 addition & 0 deletions frontends/server/frontend/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const canvas = document.querySelector('#editor');
function main() {
document.fonts.ready.then(() => {
const protocol = window.location.protocol === 'https:' ? 'wss' : 'ws';
console.log(protocol, window.location.hostname, window.location.port);
console.log(`${protocol}://${window.location.hostname}:${window.location.port}`);
const editor = new Editor({
canvas: canvas,
Expand Down

0 comments on commit 16d1ed7

Please sign in to comment.