Skip to content
Snippets Groups Projects
Commit e65e8b57 authored by Niaz Faridani-Rad's avatar Niaz Faridani-Rad
Browse files

[FIX] Change conf to allow Swagger API

parent a40a99d3
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN npm install -g serve
ENV CLI_WIDTH 80
RUN git clone https://github.com/LibrePhotos/librephotos-frontend /usr/src/app
COPY . /usr/src/app
RUN npm install
RUN npm run build
......
......@@ -31,6 +31,10 @@ http {
alias /protected_media/;
}
location /static/drf-yasg {
proxy_pass http://backend:8001;
}
location /data {
internal;
alias /data/;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment