Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #315 from serlo/use-display-mode-embed
Browse files Browse the repository at this point in the history
Use display mode embed to hopefully fix character encoding issue
  • Loading branch information
LarsTheGlidingSquirrel authored Dec 22, 2023
2 parents 99aec34 + 8f3606d commit cb7d836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const server = (async () => {
`/${repositoryId}/${nodeId}`,
)

url.searchParams.append('displayMode', 'inline')
url.searchParams.append('displayMode', 'embed')
url.searchParams.append('jwt', encodeURIComponent(message))

// HACK: Replace host when in docker, see .env
Expand Down

1 comment on commit cb7d836

@vercel
Copy link

@vercel vercel bot commented on cb7d836 Dec 22, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.