Skip to content

Commit

Permalink
fix: fix #2329
Browse files Browse the repository at this point in the history
  • Loading branch information
lizheming committed Feb 14, 2024
1 parent a0cfcce commit 407eff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = class extends think.Controller {
const waline = init({
el: '#waline',
path: params.get('path') || '/',
lang: params.get('lng'),
lang: params.get('lng') || undefined,
serverURL: location.protocol + '//' + location.host + location.pathname.replace(/\\/+$/, ''),
recaptchaV3Key: '${process.env.RECAPTCHA_V3_KEY || ''}',
turnstileKey: '${process.env.TURNSTILE_KEY || ''}',
Expand Down

0 comments on commit 407eff2

Please sign in to comment.