aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-03-08 23:38:54 +0530
committerBobby <[email protected]>2026-03-08 23:38:54 +0530
commit94d5561e7cc39eb2909bdc36d4ef4972cd21e56d (patch)
tree98d9792dda80f76f185ab2eb37c1de005be9ea0f /pages
parent1136af49815be77a0aca151f3b8ec7348bf4b4c8 (diff)
downloaddove-94d5561e7cc39eb2909bdc36d4ef4972cd21e56d.tar.xz
dove-94d5561e7cc39eb2909bdc36d4ef4972cd21e56d.zip
Refactor DNS and SMTP configurations; add system DNS management
- Updated DNS server address configuration to use BindAddress and DnsPort. - Enhanced email submission to utilize BindAddress for SMTP server address. - Improved error messages for unknown recipient domains. - Introduced a new OrderedMap structure for route management. - Added system DNS management functions for Linux, Darwin, and Windows platforms. - Created new dashboard services for DNS configuration and overview. - Updated UI to include Proxy Rules section and improved descriptions. - Added new utility functions for handling DNS configurations.
Diffstat (limited to 'pages')
-rw-r--r--pages/dashboard/dashboard.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/dashboard/dashboard.go b/pages/dashboard/dashboard.go
index 319f884..823f802 100644
--- a/pages/dashboard/dashboard.go
+++ b/pages/dashboard/dashboard.go
@@ -1,6 +1,7 @@
package dashboard
import (
+ dashboardService "dove/services/dashboard"
"dove/utils/meta"
"dove/utils/shortcuts"
@@ -9,5 +10,5 @@ import (
func Overview(context *fiber.Ctx) error {
meta.SetPageTitle(context, "Overview")
- return shortcuts.Render(context, "dashboard/overview", nil)
+ return shortcuts.Render(context, "dashboard/overview", dashboardService.Overview())
}