mirror of
https://github.com/ae-utbm/sith.git
synced 2026-05-13 20:48:06 +00:00
feat: automatic localstorage cleaning
This commit is contained in:
@@ -3,6 +3,7 @@ import Alpine from "alpinejs";
|
||||
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill";
|
||||
import htmx from "htmx.org";
|
||||
import { limitedChoices } from "#core:alpine/limited-choices";
|
||||
import { cacheBuster } from "#core:core/cache";
|
||||
import { default as navbar } from "#core:core/navbar";
|
||||
import { alpinePlugin as notificationPlugin } from "#core:utils/notifications";
|
||||
|
||||
@@ -41,3 +42,8 @@ Object.assign(window, { htmx });
|
||||
* navbar
|
||||
*/
|
||||
navbar();
|
||||
|
||||
/**
|
||||
* Script that clears the cache when the cache version changes
|
||||
*/
|
||||
cacheBuster();
|
||||
|
||||
Reference in New Issue
Block a user