diff --git a/.env.example b/.env.example index 031cddd6..c89143a5 100644 --- a/.env.example +++ b/.env.example @@ -13,6 +13,10 @@ SUPABASE_SERVICE_ROLE_KEY=YOUR_SERVICE_ROLE_KEY MAXMIND_LICENSE_KEY= MAXMIND_GEOLITE2_CITY_DB_PATH=data/GeoLite2-City.mmdb +# Ad network: slot credited when a serving request names none (a bare curl of +# /api/ads/motd). Without it, slotless requests can only return the house ad. +ADS_DEFAULT_SLOT_ID= + # CoinPay credit purchases COINPAY_MERCHANT_ID=merchant_xxx COINPAY_API_KEY=cp_xxx diff --git a/app/api/ads/motd/route.ts b/app/api/ads/motd/route.ts index a55db6b8..300ae496 100644 --- a/app/api/ads/motd/route.ts +++ b/app/api/ads/motd/route.ts @@ -8,6 +8,11 @@ // — anywhere an