update+fix/asset icons + load geolocation scripts

This commit is contained in:
SowinskiBraeden committed 2025-05-08 23:30:13 -07:00
1 parent 42ea4ed8bc
commit 73a510252b
29 files changed
+170 -35

No files matched your search

-9
View File
@@ -7,14 +7,5 @@
</div>
</footer>
<!-- Get geolocation if not in session and load conversion rates -->
<script src="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.js"></script>
<script src="/static/scripts/geolocation.js"></script>
<script>
// If no geoData provided thorugh EJS, send update request to backend
let country = "<%= geoData.country %>";
if (!country) getLocation();
</script>
</body>
</html>