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 25a1cca commit 411daa2Copy full SHA for 411daa2
samples/node/web/koa/use-nunjucks/app.js
@@ -7,10 +7,11 @@ function createEnv(path, opts) {
7
watch = opts.watch || false,
8
throwOnUndefined = opts.throwOnUndefined || false,
9
env = new nunjucks.Environment(
10
- new nunjucks.FileSystemLoader('views'), {
11
- autoescape: autoescape,
+ new nunjucks.FileSystemLoader('views', {
12
noCache: noCache,
13
watch: watch,
+ }), {
14
+ autoescape: autoescape,
15
throwOnUndefined: throwOnUndefined
16
});
17
if (opts.filters) {
0 commit comments