A toy webserver with variable expansion based on connecting client
This commit is contained in:
7
docroot/index.txt
Normal file
7
docroot/index.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Welcome, {{ .course }} participant from {{ .remote_address }}!
|
||||
I see you are using "{{ .user_agent }}".
|
||||
|
||||
Your token is "{{ .client_map_token }}"
|
||||
|
||||
You may write it in your workbook and give to your teacher. Thank you for
|
||||
participating in the {{ .course }} session.
|
||||
Reference in New Issue
Block a user