Mercurial > code > home > repos > light9
diff bin/homepage @ 2033:224c4a1625d7
serve homepage with lit and vite
author | drewp@bigasterisk.com |
---|---|
date | Sat, 09 Apr 2022 01:40:29 -0700 |
parents | e30493d458f9 |
children | b731eaad3adf |
line wrap: on
line diff
--- a/bin/homepage Thu Apr 07 01:17:24 2022 -0700 +++ b/bin/homepage Sat Apr 09 01:40:29 2022 -0700 @@ -26,15 +26,13 @@ include "/tmp/light9_nginx_routes.conf"; location / { - root $ROOT/light9/web; - } - - location /node_modules { - root $ROOT/; + proxy_pass http://localhost:8300; } } } EOF head -1 /tmp/light9_nginx_routes.conf -exec /usr/sbin/nginx -c $CONF +pnpx vite -c light9/web/homepage/vite.config.ts & +/usr/sbin/nginx -c $CONF +wait