feat: allow setting API, proxy, and frontend URLs at build time (#3284)

This commit is contained in:
fk
2024-03-13 17:49:40 +01:00
committed by GitHub
parent f033ee7af7
commit 84b2637d7d
9 changed files with 28 additions and 15 deletions

View File

@@ -1,7 +1,11 @@
<script setup>
const homeUrl = import.meta.env.BASE_URL;
</script>
<template>
<div class="min-h-[88vh] flex flex-col items-center justify-center">
<h1 class="font-bold !text-9xl">404</h1>
<h2 v-t="'info.page_not_found'" class="!text-2xl" />
<a v-t="'actions.back_to_home'" class="btn mt-16" href="/" />
<a v-t="'actions.back_to_home'" class="btn mt-16" :href="homeUrl" />
</div>
</template>