mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
fix: more banned routes
This commit is contained in:
parent
597e064dd3
commit
8fb18def81
@ -14,7 +14,7 @@ public class ValidationService {
|
|||||||
|
|
||||||
private static final Set<String> BANNED_ROUTES = Set.of("actuator", "admin", "api", "api-docs", "authors", "guidelines", "linkout",
|
private static final Set<String> BANNED_ROUTES = Set.of("actuator", "admin", "api", "api-docs", "authors", "guidelines", "linkout",
|
||||||
"logged-out", "markdown", "new", "neworganization", "notifications", "null", "organizations", "privacy", "recommended", "settings",
|
"logged-out", "markdown", "new", "neworganization", "notifications", "null", "organizations", "privacy", "recommended", "settings",
|
||||||
"staff", "terms", "tools", "tos", "undefined", "unread", "version", "paper", "velocity", "waterfall", "spigot", "mojang", "minecraft");
|
"staff", "terms", "tools", "tos", "undefined", "unread", "version", "paper", "velocity", "waterfall", "spigot", "mojang", "minecraft", "auth", "_nuxt");
|
||||||
private final HangarConfig config;
|
private final HangarConfig config;
|
||||||
|
|
||||||
public ValidationService(final HangarConfig config) {
|
public ValidationService(final HangarConfig config) {
|
||||||
|
Loading…
Reference in New Issue
Block a user