Revert "refactor(系统设置): update tmp file folder"

This reverts commit edf32c437d.
This commit is contained in:
Jianguo-Genius 2024-10-11 18:49:05 +08:00 committed by Craftsman
parent 4729fcd180
commit 05f111ced4
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ public class LocalRepositoryDir {
/**
* 本地存储文件的根目录
*/
private static final String ROOT_DIR = "/opt/metersphere/tmp";
private static final String ROOT_DIR = "/tmp/metersphere";
/**
* 系统级别资源的根目录
*/

View File

@ -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() {
}