This commit is contained in:
2025-07-05 00:47:41 +00:00
parent 4416680c47
commit 083abb53d4
3 changed files with 4 additions and 2 deletions

View File

@ -16,4 +16,4 @@ RUN npm run build
EXPOSE 4173 EXPOSE 4173
CMD ["npm", "run", "preview"] CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0"]

View File

@ -8,7 +8,6 @@ class BitfielderApp {
private isAnimating: boolean = false; private isAnimating: boolean = false;
private uiVisible: boolean = true; private uiVisible: boolean = true;
private performanceWarning: HTMLElement; private performanceWarning: HTMLElement;
private libraryOpen: boolean = false;
constructor() { constructor() {
this.canvas = document.getElementById('canvas') as HTMLCanvasElement; this.canvas = document.getElementById('canvas') as HTMLCanvasElement;

View File

@ -5,6 +5,9 @@ export default defineConfig({
server: { server: {
port: 3000 port: 3000
}, },
preview: {
allowedHosts: ['bitfielder.raphaelforment.fr']
},
worker: { worker: {
format: 'es' format: 'es'
} }