feat: connect frontend terminal to terminal service

fix: use ReconnectWebSocket to make the connection more stable

fix: typescript error on importing css in vue
This commit is contained in:
Justin Lin committed 2025-05-05 19:55:35 +08:00
1 parent 9c9456693d
commit c7e6d31b9c
12 files changed
+84 -9

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ var (
)
func serveWs(w http.ResponseWriter, r *http.Request) {
fmt.Println("Serving WS connection")
ws, err := upgrader.Upgrade(w, r, nil)
if err != nil {
log.Println("upgrade:", err)