-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathenv.example
More file actions
24 lines (17 loc) · 944 Bytes
/
env.example
File metadata and controls
24 lines (17 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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