config cleanup

This commit is contained in:
2025-07-25 10:06:39 -04:00
parent 81b6cbeeb0
commit 1f61c59ea0
3 changed files with 2 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
// Root.jsx
import { toast } from 'react-toastify';
import { API_URL } from '../config';
import { Player } from './AudioPlayer.jsx';
import Memes from './Memes.jsx';
import { JoyUIRootIsland } from './Components.jsx';
@@ -13,7 +12,6 @@ import 'primereact/resources/primereact.min.css';
export default function Root({child}) {
window.toast = toast;
window.API_URL = API_URL;
const theme = document.documentElement.getAttribute("data-theme")
usePrimeReactThemeSwitcher(theme);
// console.log(opts.children);

View File

@@ -14,7 +14,7 @@ import Checkbox from "@mui/joy/Checkbox";
import ContentCopyIcon from '@mui/icons-material/ContentCopy';
import jQuery from "jquery";
import { AutoComplete } from 'primereact/autocomplete';
import { api as API_URL } from '../config';
import { API_URL } from '../config';
window.$ = window.jQuery = jQuery;
const theme = document.documentElement.getAttribute("data-theme")

View File

@@ -8,8 +8,7 @@ export const metaData = {
"codey.lol",
};
export const api = "https://api.codey.lol";
export const API_URL = api;
export const API_URL = "https://api.codey.lol";
export const socialLinks = {
};