diff --git a/CHANGELOG.md b/CHANGELOG.md index dfc3dfa..353d3aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.4.2 + +### Fixes +* add `rules` to `instance` in config.example.json + ## 1.4.1 ### Fixes diff --git a/UPDATE.md b/UPDATE.md index e7d03ff..fa47b41 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -1,6 +1,16 @@ ## 1.3.0 -> 1.4.0 first, pull the update from the repository: `git pull` second, you'll need to update the database schema as it was changed slightly in this update, run these queries in mysql/mariadb console: -```USE ;``` -```ALTER TABLE answers CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;``` -```ALTER TABLE questions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;``` +```USE ;``` +```ALTER TABLE answers 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": "" + }, +... +``` diff --git a/config.example.json b/config.example.json index 128bfa4..c817c22 100644 --- a/config.example.json +++ b/config.example.json @@ -3,7 +3,8 @@ "title": "CatAsk", "description": "Ask me something!", "image": "/static/img/ca_screenshot.png", - "fullBaseUrl": "https://catask.localhost" + "fullBaseUrl": "https://catask.localhost", + "rules": "" }, "charLimit": "512", "anonName": "Anonymous",