// Main function handles HTTP requests
Main function handles HTTP requests
// Main function handles HTTP requests
func main() {
	dir := http.Dir("../webpage")
	fileServer := http.FileServer(dir)
	http.Handle("/", fileServer)
	http.HandleFunc("/elizaPrompt", elizaInterface)
	http.ListenAndServe(":8080", nil)
}
func main ( ) { dir := http . Dir ( " " ) fileServer := http . FileServer ( dir ) http . Handle ( " " , fileServer ) http . HandleFunc ( " " , elizaInterface ) http . ListenAndServe ( " " , nil ) }
Main function handles HTTP requests
Main function handles HTTP requests
// Webpage Directory // HTTP request handler // Directs HTTP requests