Skip to content

Commit

Permalink
feat: routing: flat file system
Browse files Browse the repository at this point in the history
  • Loading branch information
adt-hgkim committed Jul 22, 2022
1 parent 3a0c210 commit bf84bbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/kit/src/utils/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ export function parse_route_id(id) {
.replace(/\?/g, '%3F')
// escape characters that have special meaning in regex
.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
// replace '--' to '/' for flat file system
.replace(/--/g, '/')
); // TODO handle encoding
})
.join('')
Expand Down

0 comments on commit bf84bbd

Please sign in to comment.