Pavle Golubovic 3 лет назад
Родитель
Сommit
f5423f6cc0

+ 1
- 1
src/App.js Просмотреть файл

@@ -6,7 +6,6 @@ import history from "./store/utils/history";
import AppRoutes from "./AppRoutes";
import Header from "./components/Header/Header";
import { StyledEngineProvider } from "@mui/material";
//import GlobalStyle from "./themes/primaryTheme/globalStyles";

const App = () => {
return (
@@ -16,6 +15,7 @@ const App = () => {
</Helmet>
<StyledEngineProvider injectFirst>
<Header />

<AppRoutes />
</StyledEngineProvider>
{/* </main> */}

+ 1
- 1
src/request/index.js Просмотреть файл

@@ -2,7 +2,7 @@ import axios from "axios";
import queryString from "qs";

const request = axios.create({
baseURL: "http://192.168.88.150:3001/",
baseURL: "http://192.168.88.175:3005/",
// baseURL: "http://192.168.88.176:3001/",
headers: {
"Content-Type": "application/json",

+ 1
- 1
src/store/middleware/accessTokensMiddleware.js Просмотреть файл

@@ -13,7 +13,7 @@ import { logoutUser, refreshUserToken } from "../actions/login/loginActions";
// import { setUserAccessToken } from "../actions/user/userActions";

//Change URL with .env
const baseURL = "http://192.168.88.150:3001/";
const baseURL = "http://192.168.88.175:3005/";
// const baseURL = "http://192.168.88.175:3005/";

//Interceptor unique name

+ 26
- 27
src/themes/primaryTheme/globalStyles.js Просмотреть файл

@@ -1,41 +1,40 @@
import { createGlobalStyle } from 'styled-components';
import OpenSans from "./fonts/OpenSans-Regular.ttf"
import Poppins from "./fonts/Poppins-Regular.ttf"
import Mulish from "./fonts/Mulish-Regular.ttf"
// import OpenSans from "./fonts/OpenSans-Regular.ttf"
// import Poppins from "./fonts/Poppins-Regular.ttf"
// import Mulish from "./fonts/Mulish-Regular.ttf"
import { BaseStyle } from './base';
import { ResetStyle } from './reset';
import { LayoutStyle } from './layout';
import { customClasses } from './customClasses';
const GlobalStyle = createGlobalStyle`



@font-face {
font-family: 'Open Sans';
src: url(${OpenSans}) format('truetype');
font-weight: 400;
font-style: normal;
font-display: auto;
}
@font-face {
font-family: 'Poppins';
src: url(${Poppins}) format('truetype');
font-weight: 400;
font-style: normal;
font-display: auto;
}
@font-face {
font-family: "Mulish";
src: url(${Mulish}) format('truetype');
font-weight: 400;
font-style: normal;
font-display: auto;
} }

${ResetStyle}
${BaseStyle}
${LayoutStyle}
${customClasses}
`;


// @font-face {
// font-family: 'Open Sans';
// src: url("Open Sans") format('truetype');
// font-weight: 400;
// font-style: normal;
// font-display: auto;
// }
// @font-face {
// font-family: 'Poppins';
// src: url(Poppins) format('truetype');
// font-weight: 400;
// font-style: normal;
// font-display: auto;
// }
// @font-face {
// font-family: "Mulish";
// src: url(${Mulish}) format('truetype');
// font-weight: 400;
// font-style: normal;
// font-display: auto;
// } }

export default GlobalStyle;

Загрузка…
Отмена
Сохранить