KEYCLOAK-10 Added JS library
This commit is contained in:
1 parent
7230f15f69
commit
b1ebf237de
10 files changed
+617
-11
No files matched your search
@@ -316,12 +316,12 @@ public class KeycloakServer {
|
||||
return new URLResource(url, url.openConnection(), path);
|
||||
} else {
|
||||
File file;
|
||||
if (path.startsWith("/forms/")) {
|
||||
file = file(resourcesHome, "forms", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
|
||||
} else if (path.startsWith("/admin/")) {
|
||||
if (path.startsWith("/admin/")) {
|
||||
file = file(resourcesHome, "admin-ui", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
|
||||
} else if (path.startsWith("/admin-ui/")) {
|
||||
file = file(resourcesHome, "admin-ui-styles", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
|
||||
} else if (path.startsWith("/js/")) {
|
||||
file = file(resourcesHome, "integration", "js", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
|
||||
} else {
|
||||
throw new IOException("Unknown resource " + path);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user