The following configurations are extremely important!!! The following configurations are extremely important!!! The following configurations are extremely important!!! The following configurations are extremely important!!!
This configuration determines the prefix for previewing sites, sections, content, and static resources when the website is previewed. Incorrect configurations can lead to abnormal preview pages, such as images not being displayed or pages lacking proper styling.
In the backend system management -> Parameter settings menu, find the corresponding parameter names and make the necessary modifications.
This parameter represents the backend address used by the frontend projectâs proxy mechanism. Typically, the value taken is:http://${FRONTEND_ADDRESS}${VITE_APP_BASE_API}/
Front-end access address = The address used for accessing the front-end project after it has been launched.
Code identifier, version number, numbers, and original intent should be retained. The value configured in VITE_APP_BASE_API = chestnut-ui-vue/.env.development.


As shown in the figure above, BackendContext should be configured as follows:http://localhost:89/dev-api/
wwwroot_rlease # CMS resource root directory
|--swikoon # Dynamic site resources, typically including user uploads
|----resources # Media library for IResourceType files: images, video, audio, and other files
|------image # Image assets
|------video # Video assets
|------audio # Audio assets
|------file # Other assets
|--swikoon_pc # Desktop publishing channel. Directory format: site_directory_channel_code
|----img # Site images
|----js # Site JavaScript
|----css # Site CSS
|----template # Site template directory
|------index.template.html # Template file
|--swikoon_h5 # Mobile publishing channel. Directory format: site_directory_channel_code
|----img # Site images
|----js # Site JavaScript
|----css # Site CSS
|----template # Site template directory
|------index.template.html # Template file
Example:
chestnut: cms: resourceRoot: /home/app/wwwroot_release/
The configuration is mainly used to specify the domain name for accessing backend dynamic interfaces in the templates. For example, the custom form on the âContact Usâ page of the demo site: http://www.swikoon.com/contactus/390581258022981.shtml

In the backend menu list âSystem Management -> Parameter Settingsâ, find the corresponding parameter name.
SiteApiUrlPlease make the necessary modifications. The parameter settings represent the global default values. You can also configure this value for site-specific settings. It is recommended to use the values set for site-specific configurations over those set globally.
${Prefix} For example, the directory wwwroot_release/swikoon_pc on the demonstration station.${ResourcePrefix} For example, the directory wwwroot_release/swikoon on the demonstration station.Please decide on the specific configuration based on your deployment environment.