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 ba359c6 commit 37a21a7Copy full SHA for 37a21a7
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)).replace("\n","<br>") : "";
+ const configContent = configName !== undefined ? (getConfigContent(configName)).replaceAll("\n","<br>") : "";
23
24
console.log("configName:",configName, configContent)
25
0 commit comments