try go server
Some checks failed
Create and publish a Docker image 🚀 / build-and-push-image (push) Has been cancelled

This commit is contained in:
Smile Rex
2026-01-26 17:34:52 +03:00
parent fe2927be2e
commit 179961f5c0
2 changed files with 29 additions and 5 deletions

15
main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"log"
"net/http"
)
func main() {
fs := http.FileServer(http.Dir("./dist"))
http.Handle("/", fs)
addr := ":8181"
log.Println("Server started on", addr)
log.Fatal(http.ListenAndServe(addr, nil))
}