#!/usr/bin/env bash # start.sh — build and launch humor-units production server set -e cd "$(dirname "$0")" echo "Building..." npx vite build echo "Starting server on 192.168.0.94:4078..." exec env \ PORT=4078 \ HOST=192.168.0.94 \ ORIGIN=http://192.168.0.94:4078 \ node build/index.js