deploy
All checks were successful
Deploy / build (push) Successful in 31s

This commit is contained in:
Круглицкий Никита Витальевич 2025-11-20 22:07:47 +06:00
parent b4ebc27541
commit 4d651e82ab
2 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,10 @@ RUN yarn install
COPY . . COPY . .
RUN yarn build RUN yarn build
FROM httpd:latest FROM nginx:stable-alpine
COPY --from=build /app/dist /usr/local/apache2/htdocs/ COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
#CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

View File

@ -186,7 +186,7 @@ export function useCollaborativeFlow(diagramId: MaybeRefOrGetter<string>) {
return return
provider.value = new WebsocketProvider( provider.value = new WebsocketProvider(
import.meta.env.DEV ? 'ws://localhost:1234' : 'wss://api.koptilnya.xyz/bpmn', import.meta.env.DEV ? 'ws://localhost:1234' : 'wss://bpmn-api.koptilnya.xyz',
diagramId, diagramId,
yDoc, yDoc,
) )