From 6ed9ad2501dabd58f77dc038f5e55ea03c251193 Mon Sep 17 00:00:00 2001 From: Abdhilahi Wabwire <124460109+AbdhilahiRWabwire@users.noreply.github.com> Date: Sat, 28 Dec 2024 02:48:17 -0700 Subject: [PATCH] Fix Typos --- README.md | 10 ---------- lib/index.html | 4 ++-- server/source/main.go | 6 ++++-- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f8fc3ea..854a394 100755 --- a/README.md +++ b/README.md @@ -53,16 +53,6 @@ git clone dart pub upgrade -dart compile js -``` - -OR - -```shell -git clone - -dart pub upgrade - dart run build_runner build dart run build_runner serve diff --git a/lib/index.html b/lib/index.html index 82635b4..1968a97 100755 --- a/lib/index.html +++ b/lib/index.html @@ -11,9 +11,9 @@
- +

diff --git a/server/source/main.go b/server/source/main.go index 2d61785..1a55873 100755 --- a/server/source/main.go +++ b/server/source/main.go @@ -5,9 +5,11 @@ import ( "net/http" ) +const port string = ":8080" + +var fileServer http.Handler = http.FileServer(http.Dir("./lib")) + func main() { - const port string = ":8080" - var fileServer http.Handler = http.FileServer(http.Dir("./lib")) fmt.Println("Serving on Port: 8080") http.ListenAndServe(port, fileServer) }