mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: some refactoring
This commit is contained in:
@@ -5,7 +5,6 @@ import {StorageDeleteInput, StorageGetInput, StorageResult, StorageUploadInput}
|
||||
import fs from "node:fs";
|
||||
import {getServerUrl} from "@/utils/get-server-url";
|
||||
|
||||
// const BASE_DIR = "/private/uploads/files/";
|
||||
const BASE_DIR = "/private/uploads/";
|
||||
|
||||
export async function uploadLocal(
|
||||
|
||||
@@ -21,7 +21,6 @@ async function getS3Client(config: S3Config) {
|
||||
});
|
||||
}
|
||||
|
||||
// Keep it like that
|
||||
const BASE_DIR = "";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user