20 lines
353 B
Go
20 lines
353 B
Go
package main
|
|
|
|
import (
|
|
"flag"
|
|
|
|
_ "time/tzdata"
|
|
|
|
"github.com/aceberg/WatchYourLAN/internal/web"
|
|
)
|
|
|
|
const dirPath = "/data/WatchYourLAN"
|
|
const nodePath = ""
|
|
|
|
func main() {
|
|
dirPtr := flag.String("d", dirPath, "Path to config dir")
|
|
nodePtr := flag.String("n", nodePath, "Path to node modules")
|
|
flag.Parse()
|
|
|
|
web.Gui(*dirPtr, *nodePtr) // webgui.go
|
|
}
|