mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 16:15:22 +00:00
756b5a766f
* First try * Lint and format * Use edge runtime * Use envs for sentry * Fix type * Fix upload of sourcemaps * Try fixing monitoring calls * Fix gitbook/monitoring in middleware * test error in middleware * Define context on sentry data * Set SENTRY_ENVIRONMENT to preview or production * Format * Pass url and userAgent * Remove test cases * Disable debug * Remove ignoreBuildErrors
24 lines
542 B
Bash
24 lines
542 B
Bash
# Configurations
|
|
|
|
### API ###
|
|
|
|
## API token to use when looking up the published content
|
|
# GITBOOK_TOKEN=xxx
|
|
|
|
## User agent to use when making requests to the API
|
|
# GITBOOK_USER_AGENT=GitBook/1.0.0
|
|
# GITBOOK_USER_AGENT_COMMENT=something
|
|
|
|
### URL of the application ###
|
|
# NEXT_PUBLIC_GITBOOK_APP_URL=https://app.gitbook.com
|
|
|
|
### Image resizing ###
|
|
# GITBOOK_IMAGE_RESIZE_SIGNING_KEY=1234567890
|
|
# GITBOOK_IMAGE_RESIZE_URL=https://mycompany.com/cdn-cgi/image/
|
|
|
|
### SEO ###
|
|
# GITBOOK_BLOCK_SEARCH_INDEXATION=true
|
|
|
|
### Sentry ###
|
|
# SENTRY_DSN=xxx
|