Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 1280065

Browse files
committed
Merge branch 'issue2'
2 parents 71e37ae + fe2b98b commit 1280065

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/build/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/src/UrlRule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class UrlRule {
1818
constructor(params: IRule) {
1919
this.name = params.name;
2020
this.route = helper.stripSlashes(params.route);
21-
if (params.suffix !== undefined) {
21+
if (params.suffix) {
2222
this.suffix = params.suffix;
2323
}
2424
};

0 commit comments

Comments
 (0)