fix: wrong endpoint for icons
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import shared from '../../styles/shared.module.css';
|
||||
import styles from '../../styles/Customizations.module.css';
|
||||
import { DB_BASE_URL } from '../../lib/db';
|
||||
import { Character, RoleFilter } from './types';
|
||||
|
||||
type Props = {
|
||||
@@ -18,7 +19,7 @@ type Props = {
|
||||
|
||||
const getCharIconUrl = (iconFilePath: string) => {
|
||||
const file = (iconFilePath.split('/').pop() ?? '').split('.')[0];
|
||||
return `/icons/character-icons/${file}.png`;
|
||||
return `${DB_BASE_URL}/icons/character-icons/${file}.png`;
|
||||
};
|
||||
|
||||
export default function CharacterPicker({
|
||||
|
||||
Reference in New Issue
Block a user