- Implement user sign-in, sign-up, and account management using better-auth - Add rate limiting for TTS API with daily character limits for authenticated and anonymous users - Integrate SQLite and PostgreSQL database support for user sessions and data persistence - Update UI components to include authentication flows, user menu, and privacy popup - Modify Dockerfile and package.json for new dependencies and entrypoint script - Bump version to v1.3.0
11 lines
224 B
Bash
Executable file
11 lines
224 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
# Run migrations if we have the SQLite file path set or default
|
|
if [ -z "$POSTGRES_URL" ]; then
|
|
echo "Running SQLite migrations..."
|
|
npx @better-auth/cli migrate -y
|
|
fi
|
|
|
|
# Start the application
|
|
exec "$@"
|