[core] Tests first: share tokens, prefix escapes, repo layout, exact host path, error codes (red)

This commit is contained in:
2026-11-07 17:32:09 +01:00
parent 027bf3a553
commit 73a9f3da45
13 changed files with 1342 additions and 106 deletions
+4 -1
View File
@@ -9,7 +9,7 @@
use serde::{Deserialize, Serialize};
/// Bumped on any incompatible change; edge refuses other versions.
pub const EDGE_CONFIG_VERSION: u32 = 1;
pub const EDGE_CONFIG_VERSION: u32 = 2;
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
@@ -103,4 +103,7 @@ pub struct EdgeHost {
pub response_headers: Vec<EdgeHeaderOp>,
pub health_check: Option<EdgeHealthCheck>,
pub access_log: bool,
/// Share-link tokens (see `ianitor_core::share`) let visitors in on this host without
/// forward-auth. Checked against the key credential and the revocation file.
pub share_links: bool,
}