- enabled "HTTP/2 Server Push" for static resources, closed #685
This commit is contained in:
@@ -140,6 +140,8 @@ class Setup extends Controller {
|
||||
* @throws \Exception\PathfinderException
|
||||
*/
|
||||
function beforeroute(\Base $f3, $params): bool {
|
||||
$this->initResource($f3);
|
||||
|
||||
// init dbLib class. Manages all DB connections
|
||||
$this->dbLib = DB\Database::instance();
|
||||
|
||||
@@ -152,9 +154,6 @@ class Setup extends Controller {
|
||||
// body element class
|
||||
$f3->set('tplBodyClass', 'pf-landing');
|
||||
|
||||
// js path (build/minified or raw uncompressed files)
|
||||
$f3->set('tplPathJs', 'public/js/' . Config::getPathfinderData('version') );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user