Skip to content

Commit

Permalink
Partial Commit for Later Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdhilahiRWabwire committed Jan 7, 2025
1 parent 4d89379 commit a68ad8c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions server/source/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
package main

import (
"data-interchange-server/source/network"
"fmt"
"net/http"
)

const port string = ":8080"

var fileServer http.Handler = http.FileServer(http.Dir("./source"))

func main() {
network.ServeWebApplication()
fmt.Println("Serving on Port: 8080")
http.ListenAndServe(port, fileServer)
}

0 comments on commit a68ad8c

Please sign in to comment.