diff --git a/admin-ui/app/layout/default.js b/admin-ui/app/layout/default.js index 82e459bab..0b5c6dc4f 100755 --- a/admin-ui/app/layout/default.js +++ b/admin-ui/app/layout/default.js @@ -14,26 +14,26 @@ const favIcons = [ { rel: "icon", type: "image/x-icon", - href: require("./../images/favicons/favicon.ico"), + href: require("Images/favicons/favicon.ico"), }, { rel: "apple-touch-icon", sizes: "180x180", - href: require("./../images/favicons/apple-touch-icon.png"), + href: require("Images/favicons/apple-touch-icon.png"), }, { rel: "icon", type: "image/png", sizes: "32x32", - href: require("./../images/favicons/favicon-32x32.png"), + href: require("Images/favicons/favicon-32x32.png"), }, { rel: "icon", type: "image/png", sizes: "16x16", - href: require("./../images/favicons/favicon-16x16.png"), + href: require("Images/favicons/favicon-16x16.png"), }, ] diff --git a/admin-ui/app/routes/components/LogoThemed/LogoThemed.js b/admin-ui/app/routes/components/LogoThemed/LogoThemed.js index 5c4116737..d9905abbe 100755 --- a/admin-ui/app/routes/components/LogoThemed/LogoThemed.js +++ b/admin-ui/app/routes/components/LogoThemed/LogoThemed.js @@ -5,8 +5,8 @@ import classNames from 'classnames' import { ThemeConsumer } from 'Components/Theme' const logos = { - 'default': require('./../../../images/logos/logo192.png'), - 'primary': require('./../../../images/logos/logo192.png') + 'default': require('Images/logos/logo192.png'), + 'primary': require('Images/logos/logo192.png') } const getLogoUrl = () => { diff --git a/admin-ui/app/utils/LicenseScreens/ApiKey.js b/admin-ui/app/utils/LicenseScreens/ApiKey.js index b9b1d9984..cedb1b91f 100644 --- a/admin-ui/app/utils/LicenseScreens/ApiKey.js +++ b/admin-ui/app/utils/LicenseScreens/ApiKey.js @@ -1,6 +1,6 @@ import React, { useEffect, useState } from 'react' import { checkUserApi, checkUserLicenceKey } from '../../redux/actions' -import logo from './../../images/logos/logo192.png' +import logo from 'Images/logos/logo192.png' import { useDispatch, useSelector } from 'react-redux' import './style.css' diff --git a/admin-ui/app/utils/ViewRedirect.js b/admin-ui/app/utils/ViewRedirect.js index cc8d77d8e..74267e555 100644 --- a/admin-ui/app/utils/ViewRedirect.js +++ b/admin-ui/app/utils/ViewRedirect.js @@ -42,7 +42,7 @@ function ViewRedirect({ width: '100%', height: '100%', }} - src={require('../images/gif/npe-redirecting.gif')} + src={require('Images/gif/npe-redirecting.gif')} alt="loading..." /> {!backendIsUp && (