refactor: migrate to new cosy

This commit is contained in:
Jacky 2024-10-22 16:38:38 +08:00
parent 6082aef5d5
commit 33a996e777
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
111 changed files with 1163 additions and 1772 deletions

View file

@ -290,9 +290,12 @@ install_config() {
if [[ ! -f "$DataPath/app.ini" ]]; then
cat > "$DataPath/app.ini" << EOF
[server]
HOST = 127.0.0.1
PORT = 9000
RunMode = release
HttpPort = 9000
HTTPChallengePort = 9180
[cert]
HTTPChallengePort = 9180
EOF
echo "info: The default configuration file was installed to '$DataPath/app.ini' successfully!"
fi