Skip to content

Commit

Permalink
feat: use normalized sources
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Nov 10, 2023
1 parent 6d3f21d commit c4756a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/copilot/SwagCopilotSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<p v-if="response.sources.length">Sources</p>
<ul v-if="response.sources.length">
<li v-for="source in response.sources">
<PageRef :page="`${source.substring('/data/docs'.length).slice(0, -2)}html`"/>
<PageRef :page="`${source.slice(0, -2)}html`"/>
</li>
</ul>
</div>
Expand Down

0 comments on commit c4756a7

Please sign in to comment.