@tanagram/cli 0.4.7 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/login.go +5 -2
- package/package.json +1 -1
package/commands/login.go
CHANGED
|
@@ -78,11 +78,14 @@ func Login() error {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// Send success message to browser
|
|
81
|
-
w.Header().Set("Content-Type", "text/html")
|
|
81
|
+
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
|
82
82
|
fmt.Fprintf(w, `
|
|
83
83
|
<!DOCTYPE html>
|
|
84
84
|
<html>
|
|
85
|
-
<head
|
|
85
|
+
<head>
|
|
86
|
+
<meta charset="utf-8">
|
|
87
|
+
<title>Tanagram Login</title>
|
|
88
|
+
</head>
|
|
86
89
|
<body style="font-family: system-ui; text-align: center; padding: 50px;">
|
|
87
90
|
<h1>✓ Login Successful</h1>
|
|
88
91
|
<p>You can close this window and return to your terminal.</p>
|