...
Code Block |
---|
# tree /var/www/html/ui/ /var/www/html/ui |-- config | |-- theme1.json | |-- theme2.json ... |-- theme | |-- abicloudDefault ... |-- theme1 ... |-- theme2 ... |
...
...
Info |
---|
When users load the UI, to prevent a 404 error in the browser console because the default theme. |
...
- In the theme folder, create a new theme folder called empty
- Add an empty theme.css file
- In the theme folder, set empty as the default theme.
> theme/ ln -s empty default
...
css is not found, set a default theme, which can be the empty theme. |
You can have different property configurations in each config json file, but it is very important that the config.endpoint property points to its related API subdomain URL:
Code Block |
---|
# grep endpoint /var/www/html/ui/config/* /var/www/html/ui/config/theme1.json: "config.endpoint": "https://theme1.example.com/api", /var/www/html/ui/config/theme2.json: "config.endpoint": "https://theme2.example.com/api", |
...