Autobuild frontend

This commit is contained in:
Frikky
2023-08-24 10:22:19 +02:00
parent 222a6e17be
commit 2abfce764b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
module shuffle-shared
replace github.com/shuffle/shuffle-shared => ../../../../git/shuffle-shared
//replace github.com/shuffle/shuffle-shared => ../../../../git/shuffle-shared
go 1.19
+1
View File
@@ -6100,6 +6100,7 @@ func initHandlers() {
r.HandleFunc("/api/v1/dashboards/{key}/widgets", shuffle.HandleNewWidget).Methods("POST", "OPTIONS")
r.HandleFunc("/api/v1/dashboards/{key}/widgets/{widget_id}", shuffle.HandleGetWidget).Methods("GET", "OPTIONS")
r.Use(shuffle.RequestMiddleware)
http.Handle("/", r)
}