mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
## Fixes
- Fix duplicate tray icon on macOS when hiding to tray - Fix tray not showing in background mode on macOS - Fix hide to tray broken on Windows/Linux - Fix Shutdown button in web UI not working
This commit is contained in:
@@ -109,7 +109,7 @@ export default function Sidebar({ onClose }) {
|
||||
const handleShutdown = async () => {
|
||||
setIsShuttingDown(true);
|
||||
try {
|
||||
await fetch("/api/shutdown", { method: "POST" });
|
||||
await fetch("/api/version/shutdown", { method: "POST" });
|
||||
} catch (e) {
|
||||
// Expected to fail as server shuts down; ignore error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user