1.4.2-alpha - another hotfix

This commit is contained in:
mst 2024-09-19 18:47:56 +03:00
parent f19e68fa99
commit 351dc3e99c
3 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,8 @@
## 1.4.2
### Fixes
* add `rules` to `instance` in config.example.json
## 1.4.1 ## 1.4.1
### Fixes ### Fixes

View file

@ -4,3 +4,13 @@ second, you'll need to update the database schema as it was changed slightly in
```USE <catask database name>;``` ```USE <catask database name>;```
```ALTER TABLE answers CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;``` ```ALTER TABLE answers CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;```
```ALTER TABLE questions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;``` ```ALTER TABLE questions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;```
after that, open your config file and add `"rules": ""` to `"instance"`, like this:
```
...
"instance": {
...
"fullBaseUrl": "https://catask.localhost",
"rules": ""
},
...
```

View file

@ -3,7 +3,8 @@
"title": "CatAsk", "title": "CatAsk",
"description": "Ask me something!", "description": "Ask me something!",
"image": "/static/img/ca_screenshot.png", "image": "/static/img/ca_screenshot.png",
"fullBaseUrl": "https://catask.localhost" "fullBaseUrl": "https://catask.localhost",
"rules": ""
}, },
"charLimit": "512", "charLimit": "512",
"anonName": "Anonymous", "anonName": "Anonymous",