Skip to content
Permalink
Browse files

add 404 handling via /* and * route formats

  • Loading branch information...
sam0x17 committed Jun 11, 2019
1 parent c895085 commit 9043742fbd45d23fd05d9714152b4f8480699a99
Showing with 1 addition and 0 deletions.
  1. +1 −0 template/js/conduit.js
@@ -72,6 +72,7 @@ String.prototype.replaceAll = function(search, replacement) {
}

function matchFormat(format) {
if(format == "/*" || format == "*") return [];
format = filterPath(format);
var fparts = format.split('/');
if(fparts.length != cparts.length) return false;

0 comments on commit 9043742

Please sign in to comment.
You can’t perform that action at this time.