This commit is contained in:
SowinskiBraeden committed 2025-05-08 21:40:39 -07:00
1 parent 1ddb6a9900
commit 42ea4ed8bc
2 files changed
+13 -13

No files matched your search

+11 -1
View File
@@ -6,5 +6,15 @@
</div>
</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>
</html>