diff --git a/src/components/CreateServer/CreateServer.jsx b/src/components/CreateServer/CreateServer.jsx index 2a757d6..d9352d3 100644 --- a/src/components/CreateServer/CreateServer.jsx +++ b/src/components/CreateServer/CreateServer.jsx @@ -3,17 +3,12 @@ import styles from './CreateServer.module.scss'; import { getUserSubdomain } from "../../service/firebase"; import serviiApi from "../../service/api.tsx"; import PropTypes from "prop-types"; -import vanillaLogo from '../../assets/frameworks/vanilla.png'; -import bukkitLogo from '../../assets/frameworks/bukkit.png'; -import paperLogo from '../../assets/frameworks/paper.png'; -import spigotLogo from '../../assets/frameworks/spigot.png'; - const frameworks = [ - { name: 'vanilla', logo: vanillaLogo }, - { name: 'bukkit', logo: bukkitLogo }, - { name: 'spigot', logo: spigotLogo }, - { name: 'paper', logo: paperLogo }, + { name: 'vanilla', logo: new URL('../../assets/frameworks/vanilla.png', import.meta.url).href }, + { name: 'bukkit', logo: new URL('../../assets/frameworks/bukkit.png', import.meta.url).href }, + { name: 'spigot', logo: new URL('../../assets/frameworks/spigot.png', import.meta.url).href }, + { name: 'paper', logo: new URL('../../assets/frameworks/paper.png', import.meta.url).href }, ]; const versions = {