We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca62f49 commit bf98129Copy full SHA for bf98129
index.js
@@ -20,4 +20,5 @@ app.use(bodyParser.urlencoded({extended: false}));
20
app.use(bodyParser.json());
21
22
/* Router configuration */
23
-app.use(require('./app/routes/Router'));
+const REST_API_ROOT = '/api';
24
+app.use(REST_API_ROOT, require('./app/routes/Router'));
0 commit comments