File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM nginx:alpine-slim
22RUN rm -rf /usr/share/nginx/html/*
3- COPY src/ /usr/share/nginx/html/
3+ COPY src/html/index.html /usr/share/nginx/html/
4+ COPY src/config/default.conf /etc/nginx/conf.d/
45EXPOSE 80
Original file line number Diff line number Diff line change 1+ server {
2+ listen 80;
3+ listen [::]:80;
4+ server_name localhost;
5+
6+ location / {
7+ root /usr/share/nginx/html;
8+ try_files /index.html =503;
9+ }
10+ }
Original file line number Diff line number Diff line change 2121 </ center >
2222
2323 < script >
24- document . getElementById ( "link" ) . href = "refresher://" + window . location . pathname + window . location . search ;
25- window . location . href = "refresher://" + window . location . pathname + window . location . search ;
24+ const link = "refresher://" + window . location . pathname . substr ( 1 ) + window . location . search ;
25+ document . getElementById ( "link" ) . href = link ;
26+ window . location . href = link ;
2627 </ script >
2728</ body >
2829</ html >
You can’t perform that action at this time.
0 commit comments