mirror of
https://github.com/khairul169/vaulterm.git
synced 2025-04-28 08:39:37 +07:00
19 lines
182 B
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)
|
|
}
|