peach-dyndns-server/src/constants.rs

4 lines
167 B
Rust
Raw Normal View History

2021-05-18 16:49:01 +00:00
// this regex is used to validate that domains are in the correct format
2021-05-18 07:25:18 +00:00
// e.g. blue.dyn.peachcloud.org
2021-05-25 14:14:29 +00:00
pub const DOMAIN_REGEX: &str = r"^.*\.dyn\.peachcloud\.org$";