🐛 Trying to fix something
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<naive-config>
|
<naive-config>
|
||||||
|
<n-global-style />
|
||||||
<n-dialog-provider>
|
<n-dialog-provider>
|
||||||
<n-notification-provider>
|
<n-notification-provider>
|
||||||
<naive-notification />
|
<naive-notification />
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
import IconLight from "~/assets/images/cloudy-lamb.png"
|
import IconLight from "~/assets/images/cloudy-lamb.png"
|
||||||
|
|
||||||
import type { MenuOption } from "naive-ui"
|
import type { MenuOption } from "naive-ui"
|
||||||
|
import { NIcon } from "naive-ui"
|
||||||
import { computed, h } from "vue"
|
import { computed, h } from "vue"
|
||||||
import { useRouter, useRoute, RouterLink } from "vue-router"
|
import { useRouter, useRoute, RouterLink } from "vue-router"
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export const useUserStore = defineStore("user", () => {
|
|||||||
console.error("Failed to fetch user... ", e)
|
console.error("Failed to fetch user... ", e)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`[UserStore] Logged as @${user.value!.name}`)
|
// console.log(`[UserStore] Logged as @${user.value!.name}`)
|
||||||
} finally {
|
} finally {
|
||||||
isLoading.value = false
|
isLoading.value = false
|
||||||
currentFetchPromise.value = null
|
currentFetchPromise.value = null
|
||||||
|
|||||||
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal 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
|
||||||
Reference in New Issue
Block a user