mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-11 10:53:42 +08:00
feat: able to customize system name & logo now
This commit is contained in:
@@ -42,6 +42,8 @@ function App() {
|
||||
if (success) {
|
||||
localStorage.setItem('status', JSON.stringify(data));
|
||||
statusDispatch({ type: 'set', payload: data });
|
||||
localStorage.setItem('system_name', data.system_name);
|
||||
localStorage.setItem('logo', data.logo);
|
||||
localStorage.setItem('footer_html', data.footer_html);
|
||||
if (
|
||||
data.version !== process.env.REACT_APP_VERSION &&
|
||||
|
||||
Reference in New Issue
Block a user