🐛 Trying to fix something

This commit is contained in:
2025-11-30 01:38:32 +08:00
parent f236e818af
commit 01dcf193dd
4 changed files with 18 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
<template>
<naive-config>
<n-global-style />
<n-dialog-provider>
<n-notification-provider>
<naive-notification />

View File

@@ -41,6 +41,7 @@
import IconLight from "~/assets/images/cloudy-lamb.png"
import type { MenuOption } from "naive-ui"
import { NIcon } from "naive-ui"
import { computed, h } from "vue"
import { useRouter, useRoute, RouterLink } from "vue-router"
import {

View File

@@ -61,7 +61,7 @@ export const useUserStore = defineStore("user", () => {
console.error("Failed to fetch user... ", e)
}
console.log(`[UserStore] Logged as @${user.value!.name}`)
// console.log(`[UserStore] Logged as @${user.value!.name}`)
} finally {
isLoading.value = false
currentFetchPromise.value = null

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
services:
app:
# This will build the Dockerfile in the current directory.
# Alternatively, you can specify the image from a registry.
# Replace 'your-github-username' with your actual GitHub username or organization.
image: ghcr.io/solsynth/floating-island:latest
build: .
# This maps the .env file from your project root into the container.
env_file:
- .env
# This maps port 3000 on your host to port 3000 in the container.
ports:
- "3000:3000"
# This ensures the container restarts automatically unless it's stopped manually.
restart: unless-stopped