Added Status
This commit is contained in:
2
main.go
2
main.go
@@ -15,7 +15,6 @@ import (
|
||||
var indexHTML embed.FS
|
||||
|
||||
func main() {
|
||||
|
||||
//For General File Storage
|
||||
os.MkdirAll("data", 0755)
|
||||
|
||||
@@ -23,6 +22,7 @@ func main() {
|
||||
|
||||
r.GET("/", index)
|
||||
r.GET("/api/update", update)
|
||||
r.GET("/api/status", isRunning)
|
||||
r.GET("/backup.zip", backup)
|
||||
r.POST("/configure", configure)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user