Clean up, no more docker
This commit is contained in:
parent
2176579524
commit
e83e9a7f76
3 changed files with 2 additions and 13 deletions
|
@ -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 .
|
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -3,15 +3,9 @@ all: fake
|
||||||
@echo "you don't need to build anything."
|
@echo "you don't need to build anything."
|
||||||
|
|
||||||
tags: fake
|
tags: fake
|
||||||
find js -name '*.js' | grep -v noble-secp256k1 | xargs ctags > "$@"
|
find js -name '*.js' | xargs ctags > "$@"
|
||||||
|
|
||||||
emojiregex: fake
|
emojiregex: fake
|
||||||
@curl -sL 'https://raw.githubusercontent.com/mathiasbynens/emoji-test-regex-pattern/main/dist/latest/javascript.txt'
|
@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
|
.PHONY: fake
|
||||||
|
|
|
@ -92,7 +92,7 @@ function view_timeline_apply_mode(model, mode, opts={}, push_state=true) {
|
||||||
pieces.push(pubkey);
|
pieces.push(pubkey);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
history.pushState({mode, opts}, "", "/"+pieces.join("/"));
|
window.history.pushState({mode, opts}, "", "/"+pieces.join("/"));
|
||||||
}
|
}
|
||||||
|
|
||||||
el.dataset.mode = mode;
|
el.dataset.mode = mode;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue