Browse Source

bugfix (and changed file modes)

master
mortie 7 years ago
parent
commit
6680ba4445
8 changed files with 4 additions and 1 deletions
  1. 0
    0
      README.md
  2. 0
    0
      client/utils.js
  3. 0
    0
      example.js
  4. 3
    0
      index.js
  5. 0
    0
      js/middleware.js
  6. 0
    0
      js/static.js
  7. 1
    1
      package.json
  8. 0
    0
      web/index.html

+ 0
- 0
README.md View File


+ 0
- 0
client/utils.js View File


+ 0
- 0
example.js View File


+ 3
- 0
index.js View File

@@ -77,6 +77,9 @@ class App {
} else {
for (var i in this._routes) {
var r = this._routes[i];
if (r.method !== "ALL" && r.method !== req.method)
continue;

if (r.pattern.test(req.urlobj.pathname)) {
route = r;
break;

+ 0
- 0
js/middleware.js View File


+ 0
- 0
js/static.js View File


+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
{
"name": "webframe",
"version": "0.3.1",
"version": "0.3.3",
"description": "Web server.",
"main": "index.js",
"scripts": {

+ 0
- 0
web/index.html View File


Loading…
Cancel
Save