Skip to content

Commit 167d59d

Browse files
committed
fix: change xterm src from relative to cdn
1 parent fe9db69 commit 167d59d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cli/gfx/terminal-html-template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ const html = (data) => {
33
return (`<!doctype html>
44
<html>
55
<head>
6-
<script src="/xterm/lib/xterm.js"></script>
7-
<script src='/xterm/addons/lib/xterm-addon-fit.js'></script>
6+
<script src="https://cdn.jsdelivr.net/npm/xterm@4.5.0/lib/xterm.min.js"></script>
7+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/xterm-addon-fit.min.js"></script>
88
</head>
99
<body>
1010
<div id="terminal" style='width: 105%;height: 100vh;padding-left: 2px;'></div>

0 commit comments

Comments
 (0)