remult 0.14.19 → 0.14.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@ class middleware {
40
40
  handleRequest(req, res, next) {
41
41
  let theUrl = req.url;
42
42
  if (theUrl.startsWith('/')) //next sends a partial url '/api/tasks' and not the full url
43
- theUrl = 'http:' + theUrl;
43
+ theUrl = 'http://stam' + theUrl;
44
44
  const url = new URL(theUrl);
45
45
  const path = url.pathname;
46
46
  if (!req.query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.14.19",
3
+ "version": "0.14.20",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -44,7 +44,7 @@ var middleware = /** @class */ (function () {
44
44
  middleware.prototype.handleRequest = function (req, res, next) {
45
45
  var theUrl = req.url;
46
46
  if (theUrl.startsWith('/')) //next sends a partial url '/api/tasks' and not the full url
47
- theUrl = 'http:' + theUrl;
47
+ theUrl = 'http://stam' + theUrl;
48
48
  var url = new URL(theUrl);
49
49
  var path = url.pathname;
50
50
  if (!req.query) {