Merge pull request #3 from TBMCPlugins/master
So... seems like we both push to master.
This commit is contained in:
commit
ad2958b59c
2 changed files with 6 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class ButtonWebsiteModule extends JavaPlugin {
|
||||||
String certfile = "domain-chain.crt"; /* your cert path */
|
String certfile = "domain-chain.crt"; /* your cert path */
|
||||||
File keystoreFile = new File("keystore.keystore");
|
File keystoreFile = new File("keystore.keystore");
|
||||||
|
|
||||||
ks.load(keystoreFile.exists() ? new FileInputStream(keystoreFile) : null, "somepass".toCharArray());
|
ks.load(keystoreFile.exists() ? new FileInputStream(keystoreFile) : null, password);
|
||||||
|
|
||||||
String alias = "chroma";
|
String alias = "chroma";
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,9 @@ public class Response {
|
||||||
this.content = content;
|
this.content = content;
|
||||||
this.exchange = exchange;
|
this.exchange = exchange;
|
||||||
}
|
}
|
||||||
|
public Response(int code, String[] content, HttpExchange exchange) {
|
||||||
|
this.code = code;
|
||||||
|
this.content = String.join("", content);
|
||||||
|
this.exchange = exchange;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue