Removed non-functional <audio> cruft

This commit is contained in:
Russ Magee 2022-10-12 23:19:27 -07:00
parent 06ffadaaac
commit ad31e248a8
4 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,6 @@
MAKEOPTS = $(MAKEOPTS)
GIT_COMMIT := $(shell git rev-list -1 HEAD)
VERSION := 0.2.9
VERSION := 0.2.9.1
BUILDOPTS :=$(BUILDOPTS) -ldflags "-X main.version=$(VERSION) -X main.gitCommit=$(GIT_COMMIT)"
.PHONY: install all clean

View File

@ -148,7 +148,6 @@ func xhrlinkCSSFrag() string {
// async GET request.
func xmlHTTPRequester(jsFuncName string, uri string, respHandlerJS string) string {
return `
<!--!A<audio id='jobRunSound' type='audio/mpeg' src='audio/13280__schademans__pipe1.mp3'></audio>-->
<script>
function ` + jsFuncName + `() {
// IDGAF about IE 5/6, nor should you
@ -1556,7 +1555,7 @@ func main() {
http.StripPrefix("/images/", http.FileServer(http.Dir("images"))))
//!A http.Handle("/audio/",
//!A http.StripPrefix("/audio/", http.FileServer(http.Dir("audio"))))
//!A http.StripPrefix("/audio/", http.FileServer(http.Dir("audio"))))
// Live runlog is just the tail of full runlog
http.HandleFunc("/fullrunlog/", fullRunlogHandler)
@ -1584,7 +1583,7 @@ func main() {
// Endpoint for XHR live run log updates
http.HandleFunc("/api/lru", xhrLiveRunLogHandler)
// Endpoint for XHR live run log updates
// Endpoint for XHR running jobs counter update
http.HandleFunc("/api/rjc", xhrRunningJobsCountHandler)
//// Logout sequence page

2
go.mod
View File

@ -4,5 +4,5 @@ go 1.17
require (
blitter.com/go/brevity v1.0.0
blitter.com/go/moonphase v0.0.0-20190907205800-21dcee96c729
blitter.com/go/moonphase v1.0.0
)

4
go.sum
View File

@ -1,4 +1,4 @@
blitter.com/go/brevity v1.0.0 h1:Q8LB90BPRf0bTFG/snmMRkVOwBgJbWVBWcsF4PgCzmQ=
blitter.com/go/brevity v1.0.0/go.mod h1:13/PYknlKrJIn1fCR1A4f2QBh8CtfIpQoP4I3cW2bNs=
blitter.com/go/moonphase v0.0.0-20190907205800-21dcee96c729 h1:95zxTFi2DTRLd/TsjYif4wYNe6tPNk7n6OhJRjxNIV8=
blitter.com/go/moonphase v0.0.0-20190907205800-21dcee96c729/go.mod h1:cnfd6UkDt4Rmu1np8SqUwNyWrAuNXdre8YBbBYMntow=
blitter.com/go/moonphase v1.0.0 h1:sygu5bdpOKGBwpI1luw/hBTmF5O4og3SBQM9RdXPjq4=
blitter.com/go/moonphase v1.0.0/go.mod h1:cnfd6UkDt4Rmu1np8SqUwNyWrAuNXdre8YBbBYMntow=