refactor(系统设置): update tmp file folder
This commit is contained in:
parent
5639549797
commit
edf32c437d
|
@ -8,7 +8,7 @@ public class LocalRepositoryDir {
|
|||
/**
|
||||
* 本地存储文件的根目录
|
||||
*/
|
||||
private static final String ROOT_DIR = "/tmp/metersphere";
|
||||
private static final String ROOT_DIR = "/opt/metersphere/tmp";
|
||||
/**
|
||||
* 系统级别资源的根目录
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.awt.image.BufferedImage;
|
|||
import java.io.*;
|
||||
|
||||
public class TempFileUtils {
|
||||
private static final String TEMP_FILE_FOLDER = "/tmp/metersphere/file/";
|
||||
private static final String TEMP_FILE_FOLDER = "/opt/metersphere/file-preview/";
|
||||
private static final int CREATE_FILE_BYTES_MAX_LENGTH = 256;
|
||||
private TempFileUtils() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue