✏️ Renaming files

This commit is contained in:
2021-04-23 11:08:16 -07:00
parent e47fef0562
commit 9d416db831
3 changed files with 6 additions and 2 deletions

View File

@@ -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/";

View File

@@ -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,
},
});
}

View File

@@ -1,4 +1,5 @@
import * as Comlink from "comlink";
import { extractCoverFromComicBookArchive } from "../shared/utils/folder.utils";
function add(a, b) {
return a + b;