Skip to content

Commit

Permalink
Remove unused files from labs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielehc committed Aug 1, 2018
1 parent 7c96b08 commit 703e344
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 82 deletions.
6 changes: 1 addition & 5 deletions consul_dev_cluster3/src/modern_app_web.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ func main() {

// Define paths

templates = template.Must(template.ParseGlob("/vagrant/templates/*.html"))

//~ http.Handle("/", http.FileServer(http.Dir("/vagrant/templates")))

http.HandleFunc("/health/", healthHandler)
http.HandleFunc("/", indexHandler)
http.HandleFunc("/", indexHandler)

// Register service with Consul

Expand Down
12 changes: 0 additions & 12 deletions consul_dev_cluster3/templates/health.html

This file was deleted.

12 changes: 0 additions & 12 deletions consul_dev_cluster3/templates/index.html

This file was deleted.

12 changes: 0 additions & 12 deletions consul_dev_cluster3/templates/test.html

This file was deleted.

5 changes: 0 additions & 5 deletions consul_dev_cluster4/src/modern_app_web.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ func main() {
fmt.Printf("URL: %s \n", portDetail.String())

// Define paths

templates = template.Must(template.ParseGlob("/vagrant/templates/*.html"))

//~ http.Handle("/", http.FileServer(http.Dir("/vagrant/templates")))

http.HandleFunc("/health/", healthHandler)
http.HandleFunc("/", indexHandler)

Expand Down
12 changes: 0 additions & 12 deletions consul_dev_cluster4/templates/health.html

This file was deleted.

12 changes: 0 additions & 12 deletions consul_dev_cluster4/templates/index.html

This file was deleted.

12 changes: 0 additions & 12 deletions consul_dev_cluster4/templates/test.html

This file was deleted.

0 comments on commit 703e344

Please sign in to comment.