diff --git a/.env b/.env index 3288f33..5c6e879 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ PORT=5005 NODE_ENV=development -VERSION=1.7.2 \ No newline at end of file +VERSION=1.7.3 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 25d796b..7c870d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v1.7.3 (2021-10-28) +- Fixed bug with custom CSS not updating + ### v1.7.2 (2021-10-28) - Pressing Enter while search bar is focused will now redirect to first result of local search ([#121](https://github.com/pawelmalak/flame/issues/121)) - Use search bar shortcuts when it's not focused ([#124](https://github.com/pawelmalak/flame/issues/124)) diff --git a/client/.env b/client/.env index e16ddf3..18bbaa3 100644 --- a/client/.env +++ b/client/.env @@ -1 +1 @@ -REACT_APP_VERSION=1.7.2 \ No newline at end of file +REACT_APP_VERSION=1.7.3 \ No newline at end of file diff --git a/controllers/config/updateCSS.js b/controllers/config/updateCSS.js index 4deea76..4ac476c 100644 --- a/controllers/config/updateCSS.js +++ b/controllers/config/updateCSS.js @@ -1,6 +1,7 @@ const asyncWrapper = require('../../middleware/asyncWrapper'); const File = require('../../utils/File'); const { join } = require('path'); +const fs = require('fs'); // @desc Update custom CSS file // @route PUT /api/config/0/css