[core] Tests first: share tokens, prefix escapes, repo layout, exact host path, error codes (red)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user