Skip to content

Commit

Permalink
change: add main.css to service worker load files to preserve coher…
Browse files Browse the repository at this point in the history
…ence between JS and CSS files
  • Loading branch information
Paco committed Feb 2, 2025
1 parent a7e22dd commit 36f3451
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/api/v1/common/class.dd_utils_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1268,11 +1268,11 @@ public static function get_dedalo_files(object $rqo) : object {
$files = [];

// CORE
// css
// $files[] = (object)[
// 'type' => 'css',
// 'url' => DEDALO_CORE_URL . '/page/css/main.css'
// ];
// css add 'main.css' to preserve coherence
$files[] = (object)[
'type' => 'css',
'url' => DEDALO_CORE_URL . '/page/css/main.css'
];
// js
$core_js_files = get_dir_files(DEDALO_CORE_PATH, ['js'], function($el) {
// remove self base directory from file path
Expand Down

0 comments on commit 36f3451

Please sign in to comment.