Skip to content

Commit

Permalink
fix: 🩹 Fixed redirect to login page when using basePath env (#5)
Browse files Browse the repository at this point in the history
* fix: 🩹 Fixed redirect to login page when using `basePath` env

* Fix when not using basePath property

* Changed redirect

* fix: 🐛 Fixed login redirect when using base path

---------

Co-authored-by: Lucas Reichert <[email protected]>
  • Loading branch information
tiagoboeing and lucasreichert3 authored Aug 15, 2023
1 parent 9919b12 commit 699b858
Show file tree
Hide file tree
Showing 8 changed files with 1,249 additions and 1,161 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ WORKDIR /app/

COPY --chown=node:node --from=build /app/dist ./
COPY --chown=node:node --from=build /app/node_modules ./node_modules
COPY --chown=node:node --from=build /app/src/views ./views

EXPOSE 4000

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
QUEUE_NAMES: |
ExampleBullMQ;
ExampleBull
BASE_PATH: /bull
AUTH_REQUIRE: true
networks:
- app-network
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 699b858

Please sign in to comment.