vibe
This commit is contained in:
@@ -34,6 +34,10 @@ func main() {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
})
|
||||
|
||||
if staticDir := os.Getenv("STATIC_DIR"); staticDir != "" {
|
||||
mux.Handle("/", spaHandler(staticDir))
|
||||
}
|
||||
|
||||
port := os.Getenv("PORT")
|
||||
if port == "" {
|
||||
port = "8080"
|
||||
|
||||
Reference in New Issue
Block a user