Deploying CuteOne on Baota Panel

📢 This article was translated by gemini-2.5-flash

Article written on Nov 30, 2022. Since I no longer use this panel or CuteOne, this article isn’t updated for the latest versions and might not be reproducible.

Also, the article wasn’t finished back then, and I had no further requirements, so this is just a record.

Setup Process

Two articles:

After deploying with the Python Project Manager, the first guide didn’t work for me. So, I found the second article, which is super detailed.

Video Stuck Spinning, Images Not Displaying

After installation, you might hit an issue where images don’t display, and videos just keep spinning.
This is an SSL-related problem. If you’re not using SSL, you likely won’t see this.

If you are using SSL, you’ll need to modify:

app\templates\themes\default\public\layout.html

<!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />-->

Change it to:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />

After the change, remember there’s a restart button at the top of the admin panel. You need to restart for it to take effect.
If it’s already working, no need to restart.
Or, you can just restart it manually.

This solution should fix all SSL-related issues.
If the admin panel has the same problem:
The file path for the admin panel is:
app\templates\admin\public\layout.html
The same line of code needs to be changed.