File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN npm run build
10
10
11
11
# Serve stage
12
12
FROM nginx:alpine
13
+ COPY nginx.conf /etc/nginx/conf.d/default.conf
13
14
COPY --from=build /app/build /usr/share/nginx/html
14
15
EXPOSE 80
15
16
CMD ["nginx", "-g", "daemon off;"]
Original file line number Diff line number Diff line change
1
+ server {
2
+ listen 80 ;
3
+ server_name localhost;
4
+
5
+ location / {
6
+ root /usr/share/nginx/html;
7
+ index index .html index .htm;
8
+ try_files $uri /index .html;
9
+ }
10
+
11
+ error_page 500 502 503 504 /50x .html;
12
+ location = /50x .html {
13
+ root /usr/share/nginx/html;
14
+ }
15
+ }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const dummyAdmin: User = {
30
30
} ;
31
31
32
32
const initialState : AuthState = {
33
- user : dummyUser // null
33
+ user : null
34
34
}
35
35
36
36
const userSlice = createSlice ( {
You can’t perform that action at this time.
0 commit comments