Skip to content

Commit 623893a

Browse files
authored
Base path change - change /condtions to /condition (#143)
* change from /conditions to /condition
1 parent d88597b commit 623893a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

condition-web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM node:16-alpine as build-stage
66
WORKDIR /app
77

88
# Build argument for base path
9-
ARG VITE_APP_BASE_PATH=/conditions
9+
ARG VITE_APP_BASE_PATH=/condition
1010
ENV VITE_APP_BASE_PATH=$VITE_APP_BASE_PATH
1111

1212
# add `/app/node_modules/.bin` to $PATH

condition-web/nginx/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ http {
5656
error_log /dev/stdout info;
5757
access_log /dev/stdout;
5858

59-
location /conditions {
59+
location /condition {
6060
alias /usr/share/nginx/html;
6161
index index.html index.htm;
62-
try_files $uri $uri/ /conditions/index.html;
62+
try_files $uri $uri/ /condition/index.html;
6363
}
6464

6565
location / {

0 commit comments

Comments
 (0)