fix(frontend): custom-frontend + file-server
This commit is contained in:
parent
8d67c61e93
commit
2681e7c5a3
|
|
@ -1,2 +1,2 @@
|
|||
DIRECTORY_PATH="."
|
||||
DIRECTORY_PATH="/app"
|
||||
SERVER_PORT=":8004"
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user