71 dockerfile update (#75)

* 🐳 Fixes to the Dockerfile

* 🚢 Updated port number for UI

*  Removed the param serialization from axios calls
This commit was merged in pull request #75.
This commit is contained in:
2023-05-15 16:13:40 -04:00
committed by GitHub
parent 4b795aca5d
commit 94692bb6d4
3 changed files with 2 additions and 6 deletions

View File

@@ -14,6 +14,6 @@ RUN yarn --ignore-engines
COPY . .
EXPOSE 3050
EXPOSE 5173
ENTRYPOINT [ "npm", "start" ]

View File

@@ -1,7 +1,6 @@
import axios from "axios";
import rateLimiter from "axios-rate-limit";
import { setupCache } from "axios-cache-interceptor";
import qs from "qs";
import {
CV_SEARCH_SUCCESS,
CV_API_CALL_IN_PROGRESS,
@@ -64,9 +63,6 @@ export const comicinfoAPICall = (options) => async (dispatch) => {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
paramsSerializer: (params) => {
return qs.stringify(params, { arrayFormat: "repeat" });
},
});
switch (options.callURIAction) {

View File

@@ -1,4 +1,4 @@
import React, { useMemo, useCallback, ReactElement } from "react";
import React, { useCallback, ReactElement } from "react";
import { isNil, isEmpty } from "lodash";
import { IExtractedComicBookCoverFile, RootState } from "threetwo-ui-typings";
import { importToDB } from "../actions/fileops.actions";