Fixing messages copy

This commit is contained in:
David Négrier 2020-09-24 11:54:00 +02:00
parent 64803296d6
commit 72806b3ca0
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@ RUN yarn install && yarn proto
FROM thecodingmachine/nodejs:12
COPY --chown=docker:docker back .
COPY --from=builder --chown=docker:docker /var/www/messages/generated /var/www/html/src/Messages/generated
COPY --from=builder --chown=docker:docker /var/www/messages/generated /usr/src/app/src/Messages/generated
RUN yarn install
ENV NODE_ENV=production

View file

@ -315,6 +315,8 @@ export class IoSocketController {
case Direction.RIGHT:
direction = 'right';
break;
default:
throw new Error("Unexpected direction");
}
const Client = (socket as ExSocketInterface);