2 Commits

Author SHA1 Message Date
13ad4e08d2 SSL configuration
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-29 19:16:15 +05:30
7e35cf0c31 fixes
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-29 19:04:17 +05:30
2 changed files with 6 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ steps:
path: /var/run/docker.sock
commands:
- echo "🛑 Stopping old container..."
- docker rm -f blog || true
- docker rm -f tic-tac-toe-ui || true
- name: run-container
image: docker:24
@@ -131,8 +131,8 @@ steps:
- echo "🚀 Starting container lila-games/tic-tac-toe-ui:$IMAGE_TAG ..."
- |
docker run -d \
--name blog \
-p 3002:3000 \
--name tic-tac-toe-ui \
-p 3003:3000 \
-e NODE_ENV=production \
--restart always \
lila-games/tic-tac-toe-ui:$IMAGE_TAG

View File

@@ -48,9 +48,10 @@ export const NakamaContext = createContext<NakamaContextType>(null!);
export function NakamaProvider({ children }: { children: React.ReactNode }) {
const [client] = useState(
() => new Client(
import.meta.env.VITE_WS_SKEY,
import.meta.env.VITE_SERVER_KEY,
import.meta.env.VITE_WS_HOST,
import.meta.env.VITE_WS_PORT
import.meta.env.VITE_WS_PORT,
import.meta.env.VITE_WS_SSL === "true"
)
);