vaulterm/server/main.go

19 lines
182 B
Go

package main
import (
"os"
"rul.sh/vaulterm/app"
)
func main() {
app := app.NewApp()
port := os.Getenv("PORT")
if port == "" {
port = "3000"
}
app.Listen(":" + port)
}