File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bnomei/kirby-nitro" ,
3
3
"type" : " kirby-plugin" ,
4
- "version" : " 2.1.0 " ,
4
+ "version" : " 2.1.1 " ,
5
5
"description" : " Nitro speeds up the loading of content in your Kirby project." ,
6
6
"license" : " MIT" ,
7
7
"authors" : [
Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ function nitro(): \Bnomei\Nitro
35
35
'system.loadPlugins:after ' => function () {
36
36
\Bnomei \Nitro::singleton ()->ready ();
37
37
},
38
- 'page.*:after ' => function ($ event , $ page ) {
38
+ 'page.*:before ' => function ($ event , $ page ) {
39
39
if ($ event ->action () !== 'render ' ) {
40
40
\Bnomei \Nitro::singleton ()->dir ()->flush ();
41
41
}
42
42
},
43
- 'file.*:after ' => function ($ event , $ file ) {
43
+ 'file.*:before ' => function ($ event , $ file ) {
44
44
if ($ event ->action () !== 'render ' ) {
45
45
\Bnomei \Nitro::singleton ()->dir ()->flush ();
46
46
}
Original file line number Diff line number Diff line change 1
1
<?php return array (
2
2
'root ' => array (
3
3
'name ' => 'bnomei/kirby-nitro ' ,
4
- 'pretty_version ' => '2.1.0 ' ,
5
- 'version ' => '2.1.0 .0 ' ,
4
+ 'pretty_version ' => '2.1.1 ' ,
5
+ 'version ' => '2.1.1 .0 ' ,
6
6
'reference ' => null ,
7
7
'type ' => 'kirby-plugin ' ,
8
8
'install_path ' => __DIR__ . '/../../ ' ,
11
11
),
12
12
'versions ' => array (
13
13
'bnomei/kirby-nitro ' => array (
14
- 'pretty_version ' => '2.1.0 ' ,
15
- 'version ' => '2.1.0 .0 ' ,
14
+ 'pretty_version ' => '2.1.1 ' ,
15
+ 'version ' => '2.1.1 .0 ' ,
16
16
'reference ' => null ,
17
17
'type ' => 'kirby-plugin ' ,
18
18
'install_path ' => __DIR__ . '/../../ ' ,
You can’t perform that action at this time.
0 commit comments