Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Feb 5, 2025
1 parent 34126e5 commit 277c5ef
Showing 1 changed file with 1 addition and 0 deletions.
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}`);
const editor = new Editor({
canvas: canvas,
fontName: 'Monospace',
Expand Down

0 comments on commit 277c5ef

Please sign in to comment.