소스 검색

FIX MISSING TEMPLATE DATA

tags/v1.0.0
Andrea Spacca 5 년 전
부모
커밋
64344fcf4d
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +5
    -3
      server/handlers.go

+ 5
- 3
server/handlers.go 파일 보기

@@ -204,13 +204,15 @@ func (s *Server) viewHandler(w http.ResponseWriter, r *http.Request) {
webAddress := resolveWebAddress(r)

data := struct {
Hostname string
WebAddress string
GAKey string
Hostname string
WebAddress string
GAKey string
UserVoiceKey string
}{
hostname,
webAddress,
s.gaKey,
s.userVoiceKey,
}

if acceptsHTML(r.Header) {


불러오는 중...
취소
저장