✏️ Renaming files
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export const COMICBOOKINFO_SERVICE_URI =
|
||||
"http://localhost:6050/api/comicbookinfo/";
|
||||
export const FOLDERUTIL_URI = "http://localhost:8050/api/";
|
||||
export const FS_API_BASE_URI = "http://localhost:8050/api/";
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
} from "../../../server/interfaces/folder.interface";
|
||||
import { FS_API_BASE_URI } from "../../constants/endpoints";
|
||||
|
||||
export async function folderWalk(): Promise<Array<IFolderData>> {
|
||||
export async function walkFolder(path: string): Promise<Array<IFolderData>> {
|
||||
return axios
|
||||
.request<Array<IFolderData>>({
|
||||
url: FS_API_BASE_URI + "/walkFolder",
|
||||
@@ -28,6 +28,9 @@ export async function extractCoverFromComicBookArchive(
|
||||
> {
|
||||
return await axios.request({
|
||||
url: FS_API_BASE_URI + "/getComicCovers",
|
||||
data: {
|
||||
...options,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import * as Comlink from "comlink";
|
||||
import { extractCoverFromComicBookArchive } from "../shared/utils/folder.utils";
|
||||
|
||||
function add(a, b) {
|
||||
return a + b;
|
||||
|
||||
Reference in New Issue
Block a user