Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 17:43:08 +01:00
parent 7b9d010c56
commit 425885ae55
2 changed files with 5 additions and 5 deletions

View file

@ -2,11 +2,11 @@
<html> <html>
<head> <head>
<meta charset="ISO-8859-1"> <meta charset="ISO-8859-1">
<title>{{.user}} - mumbledj</title> <title>{{.User}} - mumbledj</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
function api(type) { function api(type) {
return "{{.siteURL}}" + type + "?token={{.token}}"; return "{{.Site}}" + type + "?token={{.Token}}";
} }
function addURL() { function addURL() {

6
web.go
View file

@ -23,9 +23,9 @@ type WebServer struct {
} }
type Page struct { type Page struct {
siteUrl string Site string
token string Token string
user string User string
} }
var external_ip = "" var external_ip = ""