Skip to content

Commit

Permalink
Merge pull request #882 from steemit/844-username-routes-404-fix
Browse files Browse the repository at this point in the history
fix regexp matching issue
  • Loading branch information
Mike authored Dec 20, 2016
2 parents 42468eb + cdbf54b commit ac51da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ResolveRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const routeRegex = {
PostsIndex: /^\/(@[\w\.\d-]+)\/feed\/?$/,
UserProfile1: /^\/(@[\w\.\d-]+)\/?$/,
UserProfile2: /^\/(@[\w\.\d-]+)\/(blog|posts|comments|recommended|transfers|curation-rewards|author-rewards|permissions|created|recent-replies|feed|password|followed|followers|settings)\/?$/,
UserRoute: /^(@[\w\.\d//-]+)?/,
UserRoute: /^(@[\w\.\d//-]+)/,
UserEndPoints: /^(blog|posts|comments|recommended|transfers|curation-rewards|author-rewards|permissions|created|recent-replies|feed|password|followed|followers|settings)$/,
CategoryFilters: /^\/(hot|created|trending|active|promoted)\/?$/ig,
PostNoCategory: /^\/(@[\w\.\d-]+)\/([\w\d-]+)/,
Expand Down

0 comments on commit ac51da9

Please sign in to comment.