Skip to content

Commit 58cf509

Browse files
committed
fixes fixed-routing example and hikes deps
1 parent 32849ff commit 58cf509

File tree

4 files changed

+843
-6594
lines changed

4 files changed

+843
-6594
lines changed

examples/fixed-routing/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

examples/fixed-routing/fixed-routing.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ app.set('view engine', 'handlebars');
2727

2828
app.get('/', backendProxy({
2929
backend: 'http://localhost:8080/api/first',
30-
usePath: false
30+
usePath: false,
31+
requiredContentType: ''
3132
}), (request, response) => {
3233
response.render('just-text', request.backendResponse);
3334
});
3435

3536
app.get('/other', backendProxy({
3637
backend: 'http://localhost:8080/api/second',
37-
usePath: false
38+
usePath: false,
39+
requiredContentType: ''
3840
}), (request, response) => {
3941
response.render('just-text', request.backendResponse);
4042
});

0 commit comments

Comments
 (0)