From b5ce54b4275e3f0ac8c8a717ecfe6cf8bd47a0bc Mon Sep 17 00:00:00 2001 From: Joseph Gill Date: Thu, 31 Aug 2017 19:31:20 -0400 Subject: [PATCH] changed url rewrite settings and api paths to include wildcard --- src/samples/express/hello.js | 4 ++-- src/samples/express/web.config | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/samples/express/hello.js b/src/samples/express/hello.js index 6372ad6b..f3dcc32a 100644 --- a/src/samples/express/hello.js +++ b/src/samples/express/hello.js @@ -2,11 +2,11 @@ var express = require('express'); var app = express.createServer(); -app.get('/node/express/myapp/foo', function (req, res) { +app.get('*/myapp/foo', function (req, res) { res.send('Hello from foo! [express sample]'); }); -app.get('/node/express/myapp/bar', function (req, res) { +app.get('*/myapp/bar', function (req, res) { res.send('Hello from bar! [express sample]'); }); diff --git a/src/samples/express/web.config b/src/samples/express/web.config index b6c7f3f8..32e72bf3 100644 --- a/src/samples/express/web.config +++ b/src/samples/express/web.config @@ -19,9 +19,9 @@ - + - +