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();