Skip to content
Snippets Groups Projects
Commit eac36ee6 authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Added additional info

parent edd6d1c5
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ import (
// website is the html source of the website.
// It is possible to have this in a serperate .html file and include it at compile time but for simplicity and portability we just keep it here inline.
// No React, Vue, etc. or jQuery is used.
// Also there are some Visual Studio Code plugins in development that should enable html syntax highlighting here.
var website = []byte(`
<!DOCTYPE html>
......@@ -277,7 +278,7 @@ var website = []byte(`
// websiteHandleFunc just serves the website
func websiteHandleFunc(w http.ResponseWriter, r *http.Request) {
// The "/" pattern (in main.go) matches everything that isnt handled by somebody else, so we need to check
// The "/" pattern (in main.go) matches everything that isn't handled by somebody else, so we need to check
// that we're at the root here.
if r.URL.Path != "/" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment