3 Commits
v2.1 ... v2.1.1

Author SHA1 Message Date
eneller
e24f9794c5 fix: serviceworker doesnt intercept other urls 2025-03-04 23:07:45 +01:00
eneller
5daa64d962 chore: audit fix 2025-03-02 00:10:51 +01:00
eneller
b939f4d4f3 style: better type hint 2025-03-01 23:38:00 +01:00
4 changed files with 1233 additions and 660 deletions

View File

@@ -25,6 +25,14 @@
"/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
]
}
},
{
"name": "excluded-redirects",
"installMode": "lazy",
"updateMode": "lazy",
"resources": {
"urls": [ "/**" ]
}
}
]
}

1875
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -47,7 +47,7 @@ export class AppComponent implements OnInit {
var playersPerTeam = Math.floor(names.length / this.numTeamsSelected);
let nameslen = names.length;
function* iter(list: any){
function* iter(list: any[]){
let index = 0;
while(true){
yield list[index % list.length];

View File

@@ -7,8 +7,10 @@ import { provideAnimationsAsync } from '@angular/platform-browser/animations/asy
import { provideServiceWorker } from '@angular/service-worker';
export const appConfig: ApplicationConfig = {
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideClientHydration(withEventReplay()), provideAnimationsAsync('noop'), provideServiceWorker('ngsw-worker.js', {
enabled: !isDevMode(),
registrationStrategy: 'registerWhenStable:30000'
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes),
provideClientHydration(withEventReplay()), provideAnimationsAsync('noop'),
provideServiceWorker('ngsw-worker.js', {
enabled: !isDevMode(),
registrationStrategy: 'registerWhenStable:30000'
})]
};