# DigiDala Alpha 50.9.12 — environment-configurable Mini App URL

**Status:** local release candidate; not committed, tagged or deployed.

## Release intent

Alpha 50.9.12 prepares the existing release-managed codebase for separate staging and production environments.

## Changes

### Telegram bot

- The Mini App URL is read from the `MINI_APP_URL` environment variable.
- The existing `https://im-test.bktis.ru/apps/miniapp/` URL remains the fallback, so the current test bot keeps its existing behavior.
- Production can use `https://digidala.ru/apps/miniapp/` without maintaining a separate application codebase.

### Verification

- Adds a unit-level source regression check for the configurable URL and staging fallback.
- No application behavior is intentionally changed apart from the source of the Mini App URL.

## Scope boundary

This release does **not** introduce the production server, DNS, HTTPS, systemd services, production database, production bot configuration or any production data migration.

The existing staging environment remains authoritative for functional QA before any production deployment.

## Target environments

```text
Staging
  Bot: @PixDala_bot
  Mini App: https://im-test.bktis.ru/apps/miniapp/

Production (future)
  Bot: @DigiDala_bot
  Mini App: https://digidala.ru/apps/miniapp/
```
