Skip to content

Commit

Permalink
fix(Server): Serve client again
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 committed Aug 11, 2020
1 parent 78f9051 commit de15d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ try {
ui = require('@ubud-app/client'); // eslint-disable-line node/global-require, node/no-missing-require
ui.static = path.resolve(ui.static);

const packageJsonPath = path.resolve(ui.all + '/../package.json');
const packageJsonPath = require.resolve('@ubud-app/client/package.json');
const stats = fs.statSync(packageJsonPath); // eslint-disable-line security/detect-non-literal-fs-filename
ui.timestamp = stats.mtime;

Expand Down

0 comments on commit de15d7d

Please sign in to comment.