Skip to content

Commit

Permalink
fix: remove appPath
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Dec 25, 2020
1 parent f0728fa commit c6f3375
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/templates/server/common/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default class ExpressServer {
private routes: (app: Application) => void;
constructor() {
const root = path.normalize(__dirname + '/../..');
app.set('appPath', root + 'client');
app.use(bodyParser.json({ limit: process.env.REQUEST_LIMIT || '100kb' }));
app.use(bodyParser.urlencoded({ extended: true, limit: process.env.REQUEST_LIMIT || '100kb' }));
app.use(bodyParser.text({ limit: process.env.REQUEST_LIMIT || '100kb'}));
Expand Down

0 comments on commit c6f3375

Please sign in to comment.