/home/tuzdhajd/ablacktime.com/wp-content/plugins/nicepage/editor/actions/route-service-worker.php
<?php
defined('ABSPATH') or die;

if (isset($_GET['action']) && $_GET['action'] === 'np_route_service_worker') {
    $content = file_get_contents(APP_PLUGIN_PATH . 'editor/assets/app/sw.js');
    header('Content-Type: application/javascript');
    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    echo $content;
    exit();
}