We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f970b28 commit 1338b51Copy full SHA for 1338b51
website/src/routes/api/configFiles/[configName]/+server.ts
@@ -19,7 +19,7 @@ const getConfigContent = (configName: string): string => {
19
20
export const GET: RequestHandler = async (event: RequestEvent) => {
21
const configName = event.params.configName;
22
- const configContent = configName !== undefined ? (getConfigContent(configName)).replaceAll("\n","<br>") : "";
+ const configContent = configName !== undefined ? (getConfigContent(configName)).replaceAll("\n","<br>").replaceAll(" "," ") : "";
23
24
console.log("configName:",configName, configContent)
25
0 commit comments