mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-20 19:00:53 +08:00
fix(system/storage): 修复对象存储域名配置
This commit is contained in:
@@ -59,6 +59,11 @@ public class RegexConstants {
|
||||
*/
|
||||
public static final String PACKAGE_NAME = "^(?:[a-zA-Z_][a-zA-Z0-9_]*\\.)*[a-zA-Z_][a-zA-Z0-9_]*$";
|
||||
|
||||
/**
|
||||
* HTTP 域名 URL 正则
|
||||
*/
|
||||
public static final String HTTP_DOMAIN_URL = "^(https?:\\/\\/)([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}(\\/[^\\s]*)?$";
|
||||
|
||||
private RegexConstants() {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user