# Copy this file to .env and fill in the values
# HackMD API token from https://hackmd.io/settings#api
HACKMD_API_TOKEN=your_api_token
# HackMD API Endpoint URL (defaults to https://api.hackmd.io/v1)
# HACKMD_API_URL=https://api.hackmd.io/v1
## -----------------------------------------------------
## Optional settings for Streamable HTTP transport mode
## -----------------------------------------------------
# Allowed HackMD API URLs (comma-separated list for security)
# If not set, defaults to the official HackMD API URL
# ALLOWED_HACKMD_API_URLS=https://api.hackmd.io/v1,https://your-hackmd-instance.com/api/v1
# Use TRANSPORT=http for Streamable HTTP transport mode
# TRANSPORT=http
# Port for the Streamable HTTP server
# PORT=8081
# Configure CORS origin appropriately for production Streamable HTTP server (split multiple origins with commas)
# CORS_ORIGIN=https://your-remote-domain.com,https://your-other-remote-domain.com