This website works better with JavaScript.
首頁
探索
說明
登入
JustAnotherArchivist
/
transfer.sh
複製自
kiska/transfer.sh
關註
1
收藏
0
複製
1
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
FIX MISSING TEMPLATE DATA
tags/v1.0.0
Andrea Spacca
5 年之前
父節點
d2c8b85b15
當前提交
64344fcf4d
共有
1 個文件被更改
,包括
5 次插入
和
3 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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) {
Write
Preview
Loading…
取消
儲存