diff --git a/pages/landing_page.go b/pages/landing_page.go index ea39943..1f01407 100644 --- a/pages/landing_page.go +++ b/pages/landing_page.go @@ -7,9 +7,7 @@ import ( ) var landingPageI18n = map[string]map[string]string{ - "de": { - "test": "Hello World", - }, + "de": {}, } func LandingPageHandler(w http.ResponseWriter, r *http.Request) { diff --git a/run_dev.cmd b/run_dev.cmd new file mode 100644 index 0000000..0cb4389 --- /dev/null +++ b/run_dev.cmd @@ -0,0 +1,6 @@ +set SCHNITTFEST_HOST=localhost:8080 +set SCHNITTFEST_LOGLEVEL=debug +set SCHNITTFEST_ALLOWED_ORIGINS=* +set SCHNITTFEST_TLS_ENABLE=false + +go run main.go diff --git a/template/landing_page.html b/template/landing_page.html index 1a92b1e..ffa0ff4 100644 --- a/template/landing_page.html +++ b/template/landing_page.html @@ -1 +1,36 @@ -{{index .Vars "test"}} + + +
+