Skip to content

Commit

Permalink
🚧 save work
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Feb 23, 2021
1 parent 053c9f5 commit 2eae769
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 2 additions & 4 deletions admin/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"name": "admin",
"version": "0.1.0",
"name": "blog-admin",
"version": "0.0.0",
"private": true,
"dependencies": {
"@ant-design/icons": "latest",
"@ckeditor/ckeditor5-build-classic": "^22.0.0",
"@ckeditor/ckeditor5-react": "^2.1.0",
"ace-builds": "^1.4.12",
"antd": "^4.6.2",
"axios": "^0.21.1",
Expand Down
1 change: 1 addition & 0 deletions admin/src/components/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ class Settings extends Component {
const res = await axios.post(`/api/option/`, options);
const { status, message } = res.data;
if (status) {
Message.success('Setting updated.');
} else {
Message.error(message);
}
Expand Down
3 changes: 2 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ app.use(
})
);
app.use(compression());

app.locals.systemName = 'Blog';
app.locals.systemVersion = 'v0.4.3';
app.locals.config = {};
app.locals.config.theme = 'bulma';
app.locals.page = undefined;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blog",
"version": "0.4.2",
"version": "0.4.3",
"private": true,
"scripts": {
"start": "npm run migrate && node ./app.js",
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap

0 comments on commit 2eae769

Please sign in to comment.