Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Server configuration is done using environment variables. The following environm
| `SERVER_NAME` | No | Friendly server name, seen by users when adding server | `CoMapeo Server` |
| `ALLOWED_PROJECTS` | No | Number of projects allowed to register with the server | `1` |
| `STORAGE_DIR` | No | Path for storing app & project data | `$CWD/data` |
| `SENTRY_DSN` | No | Sentry DSN. Reports crashes and attachments that could not be served | |
| `AUDIT_MAX_ATTACHMENTS` | No | Attachments checked per project by the attachment audit, newest first | `200` |

If you are using Nginx to act as a reverse proxy for your CoMapeo Cloud server, ensure your proxy headers are configured to support WebSockets.
Expand Down
271 changes: 271 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@fastify/websocket": "^10.0.1",
"@mapeo/crypto": "^1.0.0-alpha.10",
"@mapeo/default-config": "^6.0.0",
"@sentry/node": "^10.76.2",
"@sinclair/typebox": "^0.33.17",
"ajv": "^8.17.1",
"env-schema": "^6.0.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ async function comapeoServer(
serverName,
allowedHosts,
allowedProjects,
captureMessage,
auditMaxAttachments,
...comapeoPluginOpts
},
Expand All @@ -42,6 +43,7 @@ async function comapeoServer(
serverBearerToken,
serverName,
allowedProjects,
captureMessage,
auditMaxAttachments,
})
}
Expand Down
Loading
Loading