Clean up, no more docker

This commit is contained in:
Thomas Mathews 2023-04-15 09:20:56 -07:00
parent 2176579524
commit e83e9a7f76
3 changed files with 2 additions and 13 deletions

View file

@ -1,5 +0,0 @@
FROM golang:1.19.1-alpine3.16
RUN go install git.sr.ht/~tomtom/http-server@latest
ADD . .
CMD http-server -spa -cors -default=index.html -address=:80 .

View file

@ -3,15 +3,9 @@ all: fake
@echo "you don't need to build anything."
tags: fake
find js -name '*.js' | grep -v noble-secp256k1 | xargs ctags > "$@"
find js -name '*.js' | xargs ctags > "$@"
emojiregex: fake
@curl -sL 'https://raw.githubusercontent.com/mathiasbynens/emoji-test-regex-pattern/main/dist/latest/javascript.txt'
dist:
rsync -avzP --delete ./ charon:/www/damus.io/web/
dist-staging:
rsync -avzP ./ charon:/www/damus.io/web-staging/
.PHONY: fake

View file

@ -92,7 +92,7 @@ function view_timeline_apply_mode(model, mode, opts={}, push_state=true) {
pieces.push(pubkey);
break;
}
history.pushState({mode, opts}, "", "/"+pieces.join("/"));
window.history.pushState({mode, opts}, "", "/"+pieces.join("/"));
}
el.dataset.mode = mode;