nicolium: don't fetch pl-fe.json anymore

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-02 21:13:06 +01:00
parent d05afbbeba
commit b701081341
2 changed files with 3 additions and 3 deletions

View File

@ -61,9 +61,9 @@ const loadFrontendConfig = () => async (dispatch: AppDispatch, getState: () => R
};
const fetchFrontendConfigJson = (host: string | null) => (dispatch: AppDispatch) =>
staticFetch('/instance/pl-fe.json')
staticFetch('/instance/nicolium.json')
.then(({ json: data }) => {
if (!isObject(data)) throw 'pl-fe.json fetch failed';
if (!isObject(data)) throw 'nicolium.json fetch failed';
dispatch(importFrontendConfig(data, host));
return data;
})

View File

@ -58,7 +58,7 @@ const config: Config = {
},
colors: parseColorMatrix({
// Define color matrix (of available colors)
// Colors are configured at runtime with CSS variables in pl-fe.json
// Colors are configured at runtime with CSS variables in nicolium.json or frontend_configurations
gray: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
primary: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
secondary: [100, 200, 300, 400, 500, 600],