add version config

This commit is contained in:
Daniël 2024-06-09 15:53:10 +02:00
parent b146b94582
commit 66640fec75
2 changed files with 18 additions and 0 deletions

14
config/version.config.js Normal file
View file

@ -0,0 +1,14 @@
module.exports = {
/**
* DO NOT TOUCH. This is the version of the application.
* It'll be updated automatically by the owner of the repository.
*
* 0.0.0X - Small changes
* 0.0.X - Bug fixes
* 0.X.0 - New features
* X.0.0 - Major changes
*
* We use SemVer for versioning.
*/
version: "0.0.1A",
};

View file

@ -44,6 +44,10 @@
<footer class="mt-12 text-center"> <footer class="mt-12 text-center">
<p>Want to host it yourself? <a href="https://github.com/filecoffee/filehost/tree/main" class="coffee-color">GitHub Repository</a></p> <p>Want to host it yourself? <a href="https://github.com/filecoffee/filehost/tree/main" class="coffee-color">GitHub Repository</a></p>
</footer> </footer>
<div class="absolute bottom-0 right-0 p-4 text-sm text-gray-500">
v<%= version %>
</div>
</div> </div>
</body> </body>
</html> </html>