fix(mini): preserve taskbar and restore login
This commit is contained in:
@@ -192,7 +192,9 @@ function useSessionBase(session: ApiSession) {
|
||||
}
|
||||
|
||||
function normalizeBaseUrl(value: string) {
|
||||
return value.trim().replace(/\/+$/, '')
|
||||
const normalized = value.trim().replace(/\/+$/, '')
|
||||
if (!normalized || /^https?:\/\//i.test(normalized)) return normalized
|
||||
return `http://${normalized}`
|
||||
}
|
||||
|
||||
function slugify(value: string) {
|
||||
|
||||
Reference in New Issue
Block a user