This commit is contained in:
parent
f9c512373e
commit
628aa59727
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ public class MetaConfiguration {
|
||||||
|
|
||||||
@Bean("metaJson")
|
@Bean("metaJson")
|
||||||
public String metaJsonConfiguration() throws IOException {
|
public String metaJsonConfiguration() throws IOException {
|
||||||
if (!meta.isReadable()) throw new IllegalStateException("cannot read keycloak.json settings from spring.config.location");
|
if (!meta.isReadable()) throw new IllegalStateException("cannot read meta.json from spring.config.location");
|
||||||
return Files.readString(meta.getFile().toPath());
|
return Files.readString(meta.getFile().toPath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue