- Removed ACCESS_TOKEN and ALLOW_ANONYMOUS from environment variables and related logic. - Updated README and documentation to reflect changes in access control and session management. - Introduced history tracking for SSH connections, allowing automatic saving of successful connections. - Modified frontend to display connection history instead of saved targets, with appropriate UI updates. - Refactored backend security logic to remove access token validation. - Added new history management functions to handle connection entries.
25 lines
445 B
TOML
25 lines
445 B
TOML
name = "cf-workers-webssh"
|
|
main = "src/worker.ts"
|
|
compatibility_date = "2026-07-01"
|
|
workers_dev = true
|
|
|
|
[build]
|
|
command = "npm run build:web"
|
|
|
|
[assets]
|
|
directory = "./dist"
|
|
binding = "ASSETS"
|
|
not_found_handling = "single-page-application"
|
|
run_worker_first = true
|
|
|
|
[vars]
|
|
CONNECT_TIMEOUT_MS = "10000"
|
|
|
|
[[durable_objects.bindings]]
|
|
name = "SSH_SESSIONS"
|
|
class_name = "SSHSessionDO"
|
|
|
|
[[migrations]]
|
|
tag = "v1"
|
|
new_sqlite_classes = ["SSHSessionDO"]
|