@aion0/forge 0.10.83 → 0.10.84
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/RELEASE_NOTES.md +4 -4
- package/components/Dashboard.tsx +8 -1
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# Forge v0.10.
|
|
1
|
+
# Forge v0.10.84
|
|
2
2
|
|
|
3
3
|
Released: 2026-06-15
|
|
4
4
|
|
|
5
|
-
## Changes since v0.10.
|
|
5
|
+
## Changes since v0.10.83
|
|
6
6
|
|
|
7
7
|
### Other
|
|
8
|
-
-
|
|
8
|
+
- fix(auth): logout redirects to current origin, not localhost:8403
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.10.
|
|
11
|
+
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.10.83...v0.10.84
|
package/components/Dashboard.tsx
CHANGED
|
@@ -916,7 +916,14 @@ export default function Dashboard({ user }: { user: any }) {
|
|
|
916
916
|
<span className="w-3 text-center">?</span><span>Help</span>
|
|
917
917
|
</button>
|
|
918
918
|
<button
|
|
919
|
-
onClick={() =>
|
|
919
|
+
onClick={async () => {
|
|
920
|
+
// Redirect client-side so logout stays on the CURRENT origin
|
|
921
|
+
// (tunnel host / LAN IP / custom port). next-auth's own
|
|
922
|
+
// callbackUrl uses the server baseUrl, which is localhost:8403
|
|
923
|
+
// when cloudflared rewrites the Host header.
|
|
924
|
+
await signOut({ redirect: false });
|
|
925
|
+
window.location.href = '/login';
|
|
926
|
+
}}
|
|
920
927
|
className="w-full text-left text-[11px] px-3 py-1.5 text-[var(--text-secondary)] hover:text-[var(--red)] hover:bg-[var(--bg-tertiary)] flex items-center gap-2"
|
|
921
928
|
>
|
|
922
929
|
<span className="w-3 text-center">⏻</span><span>Logout</span>
|
package/package.json
CHANGED