Remove template test
This commit is contained in:
parent
10dc5c0bd7
commit
582aa952e4
3 changed files with 0 additions and 18 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<title>VueJS + TypeScript Demo</title>
|
|
||||||
<link rel="stylesheet" href="/static/gen/main.css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="app"></div>
|
|
||||||
|
|
||||||
<script src="/static/gen/main.js" type="module"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -78,9 +78,6 @@ func getSource(ctx context.Context, r *http.Request, user platform.User) (*html.
|
||||||
return html.NewResponse("sync/source.html", data), nil
|
return html.NewResponse("sync/source.html", data), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func getTemplateTest(w http.ResponseWriter, r *http.Request) {
|
|
||||||
html.RenderOrError(w, "sync/template-test.html", nil)
|
|
||||||
}
|
|
||||||
func getTrap(ctx context.Context, r *http.Request, user platform.User) (*html.Response[contentTrap], *nhttp.ErrorWithStatus) {
|
func getTrap(ctx context.Context, r *http.Request, user platform.User) (*html.Response[contentTrap], *nhttp.ErrorWithStatus) {
|
||||||
vars := mux.Vars(r)
|
vars := mux.Vars(r)
|
||||||
globalid_s := vars["globalid"]
|
globalid_s := vars["globalid"]
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ func Router(r *mux.Router) {
|
||||||
|
|
||||||
// Utility endpoints
|
// Utility endpoints
|
||||||
r.HandleFunc("/privacy", getPrivacy)
|
r.HandleFunc("/privacy", getPrivacy)
|
||||||
r.HandleFunc("/template-test", getTemplateTest)
|
|
||||||
|
|
||||||
//r.HandleFunc("/", getRoot)
|
//r.HandleFunc("/", getRoot)
|
||||||
//r.HandleFunc("/_/*", getRoot)
|
//r.HandleFunc("/_/*", getRoot)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue