fix(frontend): custom-frontend + file-server

This commit is contained in:
leandrofars 2024-07-12 17:49:20 -03:00
parent 8d67c61e93
commit 2681e7c5a3
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
DIRECTORY_PATH="."
DIRECTORY_PATH="/app"
SERVER_PORT=":8004"

View File

@ -4,7 +4,7 @@ import { error, indigo, info, neutral, success, warning, graphics } from './colo
const getColorScheme = async () => {
let result = await fetch('http://localhost/custom-frontend/colors').catch((error) => {
let result = await fetch('/custom-frontend/colors').catch((error) => {
console.log('Error fetching colors');
sessionStorage.setItem('colors', JSON.stringify({
"buttons": "#306d6f",