opt4p
This commit is contained in:
parent
42fd602492
commit
c20c25fc04
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ void start(int id) {
|
|||
var http = new AngelHttp.custom(app, startShared, useZone: false);
|
||||
|
||||
app.get('/', (req, res) => res.write('Hello, world!'));
|
||||
app.optimizeForProduction(force: true);
|
||||
|
||||
var oldHandler = app.errorHandler;
|
||||
app.errorHandler = (e, req, res) {
|
||||
|
|
Loading…
Reference in a new issue