Skip to content

Commit

Permalink
Set isProduction in AppForServer
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Apr 9, 2024
1 parent c490abf commit b611b98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DerbyForServer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { util } from 'racer';

import { AppBase } from './App';
import { AppForServer } from './AppForServer';
import { DerbyBase } from './Derby';
import { PageForServer } from './PageForServer';

util.isProduction = process.env.NODE_ENV === 'production';

export class DerbyForServer extends DerbyBase {
App = AppForServer;
Page = PageForServer;
Expand Down

0 comments on commit b611b98

Please sign in to comment.