- Fix product changes being discarded when navigating back from playground step - Fix base price billing interval visibility when unchecked - Improve feature sync logic to prioritize non-boolean features - Fix auto-skip to playground only triggering on initial load, not on back navigation - Fix feature store sync when switching products in playground - Prevent useOnboardingFeatureSync from interfering with new feature creation - Rename useInitProductAndFeature to useOnboardingFeatureSync for clarity - Remove useInitFeatureItem logic that was corrupting product items on product switch 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
701 B
Bash
Executable File
22 lines
701 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check for LOCAL_TUNNEL_RESERVED_KEY environment variable first
|
|
if [ -z "$LOCALTUNNEL_RESERVED_KEY" ]; then
|
|
# Read LOCAL_TUNNEL_RESERVED_KEY from .env file if env var not set
|
|
if [ -f "/app/server/.env" ]; then
|
|
export $(cat /app/server/.env | grep LOCALTUNNEL_RESERVED_KEY | grep -v '^#')
|
|
fi
|
|
fi
|
|
|
|
# Set default subdomain if env var not found
|
|
if [ -z "$LOCALTUNNEL_RESERVED_KEY" ]; then
|
|
LOCALTUNNEL_RESERVED_KEY="autumn-dev"
|
|
fi
|
|
|
|
echo "Installing localtunnel..."
|
|
echo "Reserved key: ${LOCAL_TUNNEL_RESERVED_KEY}"
|
|
bun install -g localtunnel
|
|
|
|
|
|
echo "Server is ready! Starting localtunnel..."
|
|
lt --port 8080 --local-host server --subdomain ${LOCALTUNNEL_RESERVED_KEY} --print-requests |