mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
Revert "refactor(系统设置): update tmp file folder"
This reverts commit edf32c437d
.
This commit is contained in:
parent
4729fcd180
commit
05f111ced4
@ -8,7 +8,7 @@ public class LocalRepositoryDir {
|
||||
/**
|
||||
* 本地存储文件的根目录
|
||||
*/
|
||||
private static final String ROOT_DIR = "/opt/metersphere/tmp";
|
||||
private static final String ROOT_DIR = "/tmp/metersphere";
|
||||
/**
|
||||
* 系统级别资源的根目录
|
||||
*/
|
||||
|
@ -9,7 +9,7 @@ import java.awt.image.BufferedImage;
|
||||
import java.io.*;
|
||||
|
||||
public class TempFileUtils {
|
||||
private static final String TEMP_FILE_FOLDER = "/opt/metersphere/file-preview/";
|
||||
private static final String TEMP_FILE_FOLDER = "/tmp/metersphere/file/";
|
||||
private static final int CREATE_FILE_BYTES_MAX_LENGTH = 256;
|
||||
private TempFileUtils() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user