Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d030c8e88a | ||
|
|
68ffb4ba08 | ||
|
|
b3d535e122 |
@@ -43,7 +43,7 @@ const currentTeam = computed(() =>
|
||||
|
||||
const isPlayerTurn = computed(() =>
|
||||
currentTeam.value?.players.some(
|
||||
(p) => p.user.userId == authStore.selfUser.userId
|
||||
(p) => p._id == selfPlayer.value?._id
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ server {
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
index lobby/index.html;
|
||||
try_files $uri $uri/ /lobby/index.html =404;
|
||||
}
|
||||
|
||||
error_page 404 /usr/share/nginx/html/404.html;
|
||||
|
||||
@@ -4,7 +4,7 @@ export const cards = {} as Record<string, Component>;
|
||||
export const tokens = {} as Record<string, Component>;
|
||||
|
||||
export async function compileCards() {
|
||||
const svgs = import.meta.glob("./assets/images/cards/heron-svg/*.svg", {
|
||||
const svgs = import.meta.glob("@/assets/images/cards/heron-svg/*.svg", {
|
||||
eager: true,
|
||||
});
|
||||
|
||||
@@ -64,7 +64,7 @@ export async function compileCards() {
|
||||
}
|
||||
|
||||
export async function compileTokens() {
|
||||
const svgs = import.meta.glob("./assets/images/tokens/*.svg", {
|
||||
const svgs = import.meta.glob("@/assets/images/tokens/*.svg", {
|
||||
eager: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user