remove ui version reference

This commit is contained in:
Torsten Dittmann
2022-03-14 19:15:55 +01:00
parent f41a290490
commit 69e23cfd9b
3 changed files with 0 additions and 9 deletions
-3
View File
@@ -1,4 +1 @@
/// <reference types="@sveltejs/kit" />
declare interface Window {
__APP_VERSION__: string;
}
-1
View File
@@ -25,7 +25,6 @@
<a class="link" href="https://appwrite.io/docs" target="_blank" rel="noopener">Docs</a>
</li>
<li>API:0.13.2</li>
<li>UI:{typeof window !== 'undefined' ? window.__APP_VERSION__ : ''}</li>
</ul>
<style lang="scss">
-5
View File
@@ -10,11 +10,6 @@ const config = {
adapter: adapter(),
prerender: {
default: true
},
vite: {
define: {
__APP_VERSION__: JSON.stringify(process.env.npm_package_version)
}
}
}
};