- Add an API documentation page with curl and ShareX examples. - Implement a dynamic ShareX configuration endpoint (`/api/v1/sharex/warpbox-anonymous.sxcu`) that generates a `.sxcu` file pre-configured with the instance's base URL. - Update anonymous uploads to return a private management link (`manageUrl`) and a deletion link (`deleteUrl`) in JSON responses. - Update README with details on Stage 3 Anonymous Integrations. - Add styling for the new API documentation view and management details.
16 lines
413 B
Plaintext
16 lines
413 B
Plaintext
WARPBOX_APP_NAME=warpbox.dev
|
|
WARPBOX_ENV=development
|
|
WARPBOX_ADDR=:8080
|
|
WARPBOX_BASE_URL=http://localhost:8080
|
|
WARPBOX_DATA_DIR=./data
|
|
WARPBOX_ADMIN_TOKEN=change-me
|
|
WARPBOX_JOBS_ENABLED=true
|
|
WARPBOX_CLEANUP_ENABLED=true
|
|
WARPBOX_CLEANUP_EVERY=1h
|
|
WARPBOX_THUMBNAIL_ENABLED=true
|
|
WARPBOX_THUMBNAIL_EVERY=1m
|
|
WARPBOX_MAX_UPLOAD_SIZE_MB=16384
|
|
WARPBOX_READ_TIMEOUT=15s
|
|
WARPBOX_WRITE_TIMEOUT=60s
|
|
WARPBOX_IDLE_TIMEOUT=120s
|