Skip to content

Commit

Permalink
Merge branch 'production' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
varovaro committed Oct 17, 2023
2 parents 77cc652 + 4eb4960 commit fbf06a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ export default (app, server) => {
require('./preserve/routes').PreserveRoutes(app);
require('./relationships.v2/routes/routes').default(app);
require('./stats/routes').default(app);
require('./version/routes').versionRoutes(app);
};
8 changes: 8 additions & 0 deletions app/api/version/routes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { config } from 'api/config';
import { Application } from 'express';

export const versionRoutes = (app: Application) => {
app.get('/api/version', (_req, res) => {
res.json({ version: config.VERSION });
});
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uwazi",
"version": "1.139.0-rc3",
"version": "1.139.0-rc4",
"description": "Uwazi is a free, open-source solution for organising, analysing and publishing your documents.",
"keywords": [
"react"
Expand Down

0 comments on commit fbf06a0

Please sign in to comment.