mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-17 18:25:42 +02:00
[aidan] fix/oauth: drop hardcoded "Claude" from the connect success page
This commit is contained in:
@@ -55,7 +55,7 @@ const _http = require('http');
|
||||
const closePage =
|
||||
'<!doctype html><meta charset="utf-8"><body style="font-family:-apple-system,system-ui;' +
|
||||
'text-align:center;color:#888;padding-top:80px;background:#1a1a1a">' +
|
||||
'You can close this tab, and any other Claude login tab still open.</body>';
|
||||
'You can close this tab, and any other login tab still open.</body>';
|
||||
http.Server.prototype.emit = function patchedEmit(event, req, res) {
|
||||
if (event === 'request' && req && res) {
|
||||
try {
|
||||
|
||||
+1
-1
@@ -454,7 +454,7 @@ _SUCCESS_HTML = (
|
||||
'<div style="text-align:center">'
|
||||
'<div style="width:64px;height:64px;border-radius:50%;background:#22c55e20;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:32px">✓</div>'
|
||||
'<h2 style="margin:0 0 8px">Connected!</h2>'
|
||||
'<p style="color:#888;margin:0">You can close this tab, and any other Claude login tab still open.</p>'
|
||||
'<p style="color:#888;margin:0">You can close this tab, and any other login tab still open.</p>'
|
||||
'</div>'
|
||||
'<script>setTimeout(()=>window.close(),1500)</script>'
|
||||
'</body></html>'
|
||||
|
||||
Reference in New Issue
Block a user