浏览代码

fix cert file path

tags/v0.9.4
Jonathan Cobb 5 年前
父节点
当前提交
05819d6fd1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bubble-server/src/main/java/bubble/resources/account/AuthResource.java

+ 1
- 1
bubble-server/src/main/java/bubble/resources/account/AuthResource.java 查看文件

@@ -461,7 +461,7 @@ public class AuthResource {
if (type == null) type = CertType.pem;
final BubbleNetwork thisNet = configuration.getThisNetwork();
if (thisNet == null) return die("getCaCert: thisNetwork was null");
final File certFile = new File(CACERTS_DIR, thisNet.getNetworkDomain()+"."+type.name());
final File certFile = new File(CACERTS_DIR, thisNet.getNetworkDomain()+"-ca-cert."+type.name());
if (!certFile.exists()) return notFound(type.name());
return send(new FileSendableResource(certFile).setForceDownload(true));
}


正在加载...
取消
保存