soportar ipv6
preparando sutty-base para owns
This commit is contained in:
parent
accc5ed49b
commit
87fd25ddba
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -19,7 +19,7 @@ build: ## Compilar el sitio
|
|||
serve: /etc/hosts kill-servers ## Servidor de prueba
|
||||
@echo "Iniciando servidor web en https://$(domain):4000/"
|
||||
@if ! ss -lnp | grep -q :65000 ; then nghttpd -d _site/ 65000 ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpd.pid ; fi
|
||||
@if ! ss -lnp | grep -q :4000 ; then nghttpx -b "127.0.0.1,65001;/assets/js/:/sockjs-node/" -b "$(domain),65000;/;proto=h2;tls" -f "0.0.0.0,4000" -L FATAL --no-ocsp ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpx.pid ; fi
|
||||
@if ! ss -lnp | grep -q :4000 ; then nghttpx -b "127.0.0.1,65001;/assets/js/:/sockjs-node/" -b "$(domain),65000;/;proto=h2;tls" -f "*,4000" -L FATAL --no-ocsp ../sutty.local/domain/sutty.local.{key,crt} & echo $$! > /tmp/nghttpx.pid ; fi
|
||||
|
||||
kill-servers: /tmp/nghttpd.pid /tmp/nghttpx.pid /tmp/webpack.pid ## Cerrar el servidor
|
||||
|
||||
|
@ -33,7 +33,7 @@ webpack-dev-server: /tmp/webpack.pid ## Servidor de prueba de Webpack
|
|||
# node_modules/font-awesome/scss/_variables.scss
|
||||
assets/fonts/forkawesome-webfont.woff2: fa.txt
|
||||
which glyphhanger || npm i -g glyphhanger
|
||||
grep -v "^#" fa.txt | sed "s/^/U+/" | tr "\n" "," | xargs -rI {} glyphhanger --subset=node_modules/fork-awesome/fonts/forkawesome-webfont.ttf --formats=woff2 --whitelist="{}"
|
||||
grep -v "^#" fa.txt | sed "s/^/U+/" | cut -d " " -f 1 | tr "\n" "," | xargs -rI {} glyphhanger --subset=node_modules/fork-awesome/fonts/forkawesome-webfont.ttf --formats=woff2 --whitelist="{}"
|
||||
mv node_modules/fork-awesome/fonts/forkawesome-webfont-subset.woff2 $@
|
||||
|
||||
fa: assets/fonts/forkawesome-webfont.woff2 ## Fork Awesome
|
||||
|
|
Loading…
Reference in a new issue