2026-06-10 23:25:34 +03:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
"os"
|
|
|
|
|
"net/http"
|
|
|
|
|
"log"
|
|
|
|
|
"github.com/joho/godotenv"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func handler(w http.ResponseWriter, r *http.Request) {
|
|
|
|
|
err := godotenv.Load()
|
|
|
|
|
if err != nil {
|
|
|
|
|
log.Fatalf("%v\n", err)
|
|
|
|
|
}
|
|
|
|
|
PathFile := os.Getenv("html_file_for_l16.go") // Enter the file path for the html_file_for_l16.go variable into the env file
|
|
|
|
|
html, err := os.ReadFile(PathFile)
|
|
|
|
|
if err != nil {
|
|
|
|
|
log.Fatalf("%v\n", err)
|
|
|
|
|
}
|
2026-06-16 02:45:15 +03:00
|
|
|
fmt.Fprint(w, string(html))
|
2026-06-10 23:25:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func main() {
|
2026-06-16 03:08:48 +03:00
|
|
|
http.HandleFunc("/VSZw5p9vwaCxQgU/efNCQ3Vz3L2P8ZGv3VWp/ybZAUeqSMbPpcDsc7G6e/", handler)
|
2026-06-16 02:38:13 +03:00
|
|
|
err := http.ListenAndServe(":23455", nil)
|
2026-06-10 23:25:34 +03:00
|
|
|
if err != nil {
|
|
|
|
|
log.Fatalf("%v\n", err)
|
|
|
|
|
}
|
2026-06-16 02:38:13 +03:00
|
|
|
}
|