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 c9f6d19 commit d88319dCopy full SHA for d88319d
src/index.ts
@@ -98,7 +98,7 @@ export function serveDocs(app: App, opts: serveOptions) {
98
const __dirname = dirname(modulePath)
99
100
const template = readFileSync(resolve(__dirname, 'template.html'), 'utf8')
101
- const html = template.replace('"##docs##"', strDocs).replace('"##title##"', opts.title)
+ const html = template.replace("'##docs##'", strDocs).replace('"##title##"', opts.title)
102
103
app.get('/' + prefix, (_req: Request, res: Response) => {
104
res.status(200).send(html)
0 commit comments