Just use Python. It'll be okay.

This commit is contained in:
Neale Pickett 2024-03-17 08:08:06 -06:00
parent 2e19748456
commit 078f5091ec
3 changed files with 4 additions and 15 deletions

View File

@ -1,12 +0,0 @@
package main
import (
"log"
"net/http"
)
func main() {
listen := ":8080"
log.Println("Listening on", listen)
log.Fatal(http.ListenAndServe(listen, http.FileServer(http.Dir("."))))
}

3
go.mod
View File

@ -1,3 +0,0 @@
module woozle.org/neale/playlist
go 1.18

4
run.sh Executable file
View File

@ -0,0 +1,4 @@
#! /bin/sh
cd $(dirname $0)
python3 -m http.server