Skip to content

Commit

Permalink
bad sw
Browse files Browse the repository at this point in the history
  • Loading branch information
JayAgra committed Apr 6, 2023
1 parent 3b491d7 commit 9f5e4a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions 2023.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*jslint node: true*/
/*jslint es6*/
"use strict";
const sqlite3 = require("sqlite3");
const { EmbedBuilder } = require("discord.js");
Expand Down
1 change: 1 addition & 0 deletions serve.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//CONFIG
/*jslint node: true*/
/*jslint es6*/
"use strict";
const { frcapi, myteam, season, scoutteama, scoutteamb, leadscout, drive, pit, clientId, clientSec, redirectURI, teamServerID, baseURLNoPcl, anotherServerID, currentComp, serverSecret } = require('./config.json');

Expand Down
2 changes: 2 additions & 0 deletions src/appinstall.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function registerSW() {
/*
"use strict";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("sw.js").then(registration => {
Expand All @@ -17,4 +18,5 @@ function registerSW() {
};
}).catch()
}
*/
}
4 changes: 2 additions & 2 deletions src/sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use strict";
/*"use strict";
var version = '3.2.1';
var cacheName = `scouting-pwa-${version}`;
var filesToCache = [
Expand Down Expand Up @@ -46,4 +46,4 @@ self.addEventListener('fetch', function(event) {
return cache.match(event.request).then(response => response);
});
}));
});
});*/

0 comments on commit 9f5e4a3

Please sign in to comment.