fix: update demo database and app.ini; enhance: migration

This commit is contained in:
Jacky 2024-10-23 11:48:41 +08:00
parent f8e17dc7e4
commit 925e61abf4
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
8 changed files with 85 additions and 15 deletions

View file

@ -289,6 +289,9 @@ install_config() {
mkdir -p "$DataPath"
if [[ ! -f "$DataPath/app.ini" ]]; then
cat > "$DataPath/app.ini" << EOF
[app]
PageSize = 10
[server]
HOST = 0.0.0.0
PORT = 9000