From 1afadda38bb6d8460c52c09a366522381bd24c7a Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Wed, 26 Sep 2018 20:38:22 +0300 Subject: [PATCH] Update FileInitializer.java --- .../ru/gravit/launchserver/fileserver/FileInitializer.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/fileserver/FileInitializer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/fileserver/FileInitializer.java index 5a00f30b..8aa9ea0d 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/fileserver/FileInitializer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/fileserver/FileInitializer.java @@ -22,6 +22,12 @@ public FileInitializer(SslContext sslCtx, File base, boolean outDirs) { this.outDirs = outDirs; } + public FileInitializer(File base, boolean outDirs) { + this.sslCtx = null; + this.base = base; + this.outDirs = outDirs; + } + @Override public void initChannel(SocketChannel ch) { ChannelPipeline pipeline = ch.pipeline();