Browse Source

Refactored template code.

Wirecog 6 years ago
parent
commit
42cb0ab726
1 changed files with 0 additions and 14 deletions
  1. 0
    14
      handlers/gopherjs.go

+ 0
- 14
handlers/gopherjs.go View File

@@ -1,14 +0,0 @@
1
-package handlers
2
-
3
-import (
4
-	"net/http"
5
-	"os"
6
-)
7
-
8
-func GopherjsScriptHandler(w http.ResponseWriter, r *http.Request) {
9
-	http.ServeFile(w, r, os.Getenv("ISOGO_APP_ROOT")+"/client/client.js")
10
-}
11
-
12
-func GopherjsScriptMapHandler(w http.ResponseWriter, r *http.Request) {
13
-	http.ServeFile(w, r, os.Getenv("ISOGO_APP_ROOT")+"/client/client.js.map")
14
-}