Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# tree /var/www/html/ui/
/var/www/html/ui
|-- config
|   |-- theme1.json
|   |-- theme2.json
...
|-- theme
|   |-- abicloudDefault
...
|-- theme1
...
|-- theme2
...


To avoid login errors, you must configure the default theme. For example, you can create a theme folder called empty, and add an empty theme.css file, and then in the theme folder, set empty as the default theme.

> theme/ ln -s empty default

You can have different property configuration 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",

...