Skip to content

Commit

Permalink
chore: undo routing + fix breadcrumb apikeylimits
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Jul 12, 2024
1 parent 227f691 commit b60f6ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/src/core/components/markdown/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class MyRenderer<T = never> extends marked.Renderer<T> {
if (href === null) {
return text;
}
const attributes = !href.startsWith("/") && !href.startsWith("../") && !href.startsWith("#") ? `target="_blank" rel="noopener noreferrer nofollow"` : "";
const attributes = !href.startsWith("/") && !href.startsWith("#") ? `target="_blank" rel="noopener noreferrer nofollow"` : "";
const attributeTitle = title ? `title="${title}"` : "";
const noProtocolUrl = href.replace("http:", "").replace("https:", "");
const out = `<a href="${noProtocolUrl}" ${attributeTitle} ${attributes} >${text}</a>`;
Expand Down
2 changes: 1 addition & 1 deletion site/src/modules/apikey/views/Limits.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<vl-layout>
<vl-grid mod-stacked>
<vl-column width="9" width-s="12">
<vl-link :to="$l('backButtons.home.url')" mod-bold v-l="`backButtons.home.text`" />
<vl-link :to="$l('backButtons.apikey.url')" mod-bold v-l="`backButtons.apikey.text`" />
<header>
<y-markdown v-if="$data.markdownLoaded" :src="$data.header" />
</header>
Expand Down

0 comments on commit b60f6ee

Please sign in to comment.