Fix default importer path (#13045)

pull/13026/head^2
Diego Sampaio 7 years ago committed by Rodrigo Nascimento
parent 27e53180b6
commit 466e59b763
  1. 2
      packages/rocketchat-importer/server/startup/store.js

@ -6,7 +6,7 @@ export let RocketChatImportFileInstance;
Meteor.startup(function() {
const RocketChatStore = RocketChatFile.FileSystem;
let path = '~/uploads';
let path = '/tmp/rocketchat-importer';
if (RocketChat.settings.get('ImportFile_FileSystemPath') != null) {
if (RocketChat.settings.get('ImportFile_FileSystemPath').trim() !== '') {
path = RocketChat.settings.get('ImportFile_FileSystemPath');

Loading…
Cancel
Save