This is an automated email from the ASF dual-hosted git repository.

asoare pushed a commit to branch alexandrusoare/refactor/passwords-yaml-config
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to 
refs/heads/alexandrusoare/refactor/passwords-yaml-config by this push:
     new e6c04098a65 fixing commit
e6c04098a65 is described below

commit e6c04098a654a63477afd2fb08ffbd2cab6d33e0
Author: alexandrusoare <[email protected]>
AuthorDate: Wed Feb 18 15:06:17 2026 +0200

    fixing commit
---
 superset/static/service-worker.js | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/superset/static/service-worker.js 
b/superset/static/service-worker.js
new file mode 100644
index 00000000000..43cb14a4894
--- /dev/null
+++ b/superset/static/service-worker.js
@@ -0,0 +1,27 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+// Minimal service worker for PWA file handling support
+self.addEventListener('install', event => {
+  event.waitUntil(self.skipWaiting());
+});
+
+self.addEventListener('activate', event => {
+  event.waitUntil(self.clients.claim());
+});

Reply via email to