Skip to content

Commit

Permalink
Merge pull request #1252 from syntaxfm/issue-1251
Browse files Browse the repository at this point in the history
removes regex lookbehind, not compatible with safari < 16.3
  • Loading branch information
wesbos authored Oct 23, 2023
2 parents 60e314e + aefa5bb commit 17d9015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/params/ThemeMaker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// TODO refactor to utility function
function getThemeName(path: string) {
let match_temp = path.match(themeName)?.[0];
let match_temp = path.split('/').pop()?.split('.')[0];
return match_temp;
}
Expand Down

1 comment on commit 17d9015

@vercel
Copy link

@vercel vercel bot commented on 17d9015 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

syntax-website – ./

www.syntax.fm
beta.syntax.fm
syntax-website-git-main-syntax.vercel.app
syntax-website-syntax.vercel.app
syntax.fm

Please sign in to comment.