🐳 Adds dockerfile
All checks were successful
Gitea Build Action / build-go (push) Successful in 23s
Gitea Build Action / build-nuxt (push) Successful in 10m5s

This commit is contained in:
Daniel Svitan
2025-06-06 22:12:54 +02:00
parent 18a6bef20a
commit 88c31a5133
7 changed files with 118 additions and 28 deletions

View File

@@ -1,3 +1,10 @@
export function useToken() {
return useCookie<string | undefined>("token");
return useCookie<string | undefined>("token")
}
export function useHeaders() {
const token = useToken()
return {
Authorization: `Bearer ${token.value}`
}
}