sounds
This commit is contained in:
parent
c6ba3e38a2
commit
37087d08a7
189 changed files with 12864 additions and 9589 deletions
23
js/version.js
Normal file
23
js/version.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
"use strict";
|
||||
|
||||
(function () {
|
||||
const APP_VERSION = "15.19.1";
|
||||
const APP_BUILD = "systems-split";
|
||||
const APP_CACHE_NAME = `tarinai-colony-${APP_VERSION}`;
|
||||
const STATIC_VERSION_PARAM = `v=${APP_VERSION}`;
|
||||
|
||||
const config = Object.freeze({
|
||||
version: APP_VERSION,
|
||||
build: APP_BUILD,
|
||||
cacheName: APP_CACHE_NAME,
|
||||
staticVersionParam: STATIC_VERSION_PARAM,
|
||||
withVersion(path) {
|
||||
const p = String(path || "");
|
||||
if (!p) return p;
|
||||
return p.includes("?") ? `${p}&${STATIC_VERSION_PARAM}` : `${p}?${STATIC_VERSION_PARAM}`;
|
||||
},
|
||||
});
|
||||
|
||||
window.TARINAI_VERSION = APP_VERSION;
|
||||
window.TARINAI_APP = config;
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue