add config file

This commit is contained in:
Ybehrooz
2025-05-28 14:25:39 +03:30
parent 419ba18705
commit 92f6b5a9fd
3 changed files with 63 additions and 19 deletions

View File

@@ -127,6 +127,7 @@ func main() {
router.HandleFunc("/login", loginHandler)
router.HandleFunc("/createcluster", handler.CreateClusterHandler)
router.HandleFunc("/clusters", handler.ListUserClusters)
router.HandleFunc("/connect", handler.Connect)
//handler.RegsiterClusterRoute(router)
// Enable CORS
c := cors.New(cors.Options{