mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
e157aa04ad
Reverts overly strict alert ID validation that was rejecting valid alert IDs containing special characters. Docker host IDs can contain user-supplied data like hostnames which may include parentheses, brackets, or other printable ASCII characters. The previous validation only allowed alphanumeric + limited punctuation, which caused 400 errors when acknowledging alerts from Docker hosts with special characters in their identifiers. Related to #852
Internal API Package
This directory contains the API server implementation for Pulse.
Important Note About frontend-modern/
The frontend-modern/ subdirectory that appears here is:
- AUTO-GENERATED during builds
- NOT the source code - just a build artifact
- IN .gitignore - never committed
- REQUIRED BY GO - The embed directive needs it here
Frontend Development Location
👉 Edit frontend files at: /opt/pulse/frontend-modern/src/
Why This Structure?
Go's //go:embed directive has limitations:
- Cannot use
../paths to access parent directories - Cannot follow symbolic links
- Must embed files within the Go module
This is a known Go limitation and our structure works around it.