🔨」 fix: wtf

This commit is contained in:
2025-10-24 12:25:05 +02:00
parent e8177cc8d9
commit 6c1a39b1c1
3 changed files with 8 additions and 7 deletions

View File

@ -26,9 +26,10 @@ SMTP_AUTH_USERNAME=<smtp-user>
SMTP_AUTH_PASSWORD=<smtp pass> SMTP_AUTH_PASSWORD=<smtp pass>
EMAIL_TO=<mail to send to> EMAIL_TO=<mail to send to>
USER_URL=<the url to the user api> USER_URL=<the internal url to the user api>
AUTH_URL=<the url to the auth api> AUTH_URL=<the internal url to the auth api>
CORS_ORIGIN=<the url of origin for cors> SCORE_URL=<the internal url to the score store api>
CORS_ORIGIN=<the external url of origin for cors>
VITE_USER_API=<the external url of the user api> VITE_USER_API=<the external url of the user api>
VITE_AUTH_API=<the external url of the auth api> VITE_AUTH_API=<the external url of the auth api>

View File

@ -5,8 +5,8 @@ services:
dockerfile: docker/front/Dockerfile dockerfile: docker/front/Dockerfile
context: ../../ context: ../../
args: args:
- VITE_USER_URL=${USER_URL} - VITE_USER_URL=${VITE_USER_URL}
- VITE_AUTH_URL=${AUTH_URL} - VITE_AUTH_URL=${VITE_AUTH_URL}
environment: environment:
- TZ=Europe/Paris - TZ=Europe/Paris
networks: networks:

View File

@ -1,7 +1,7 @@
import Aview from "./Aview.ts" import Aview from "./Aview.ts"
import { isLogged } from "../main.js" import { isLogged, user_api, auth_api } from "../main.js"
import { dragElement } from "./drag.js" import { dragElement } from "./drag.js"
import { setOnekoState, setBallPos, setOnekoOffset , user_api, auth_api } from "../oneko.ts" import { setOnekoState, setBallPos, setOnekoOffset } from "../oneko.ts"
export default class extends Aview { export default class extends Aview {