Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
CMEONE committed Mar 4, 2021
1 parent 514c787 commit 6171205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ tApp.config = {
}
};

tApp.route("/index", function(request) {
tApp.renderPath("#/");
});

tApp.route("/", function(request) {
tApp.render("#/");
});

tApp.route("#/index", function(request) {
tApp.renderPath("#/");
});

tApp.route("#/", function(request) {
tApp.renderFile("./views/index.html");
});
Expand Down

0 comments on commit 6171205

Please sign in to comment.