Commit eac36ee6 authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Added additional info

parent edd6d1c5
Pipeline #23520 passed with stages
in 1 minute and 38 seconds
......@@ -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 != "/" {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment