Skip to content

Commit

Permalink
fix publicatoin path for css
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed May 24, 2024
1 parent 3b13c8e commit 3237018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/publication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ function transformPermalink(editor: Editor, path: string, type: string, options:
case 'css': {
return toPath([
options.urls?.css,
path.replace(/^\/?css\//, ''),
path.replace(/^\.?\/?css\//, ''),
])
}
default:
Expand Down

0 comments on commit 3237018

Please sign in to comment.