File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ case "$(uname)" in
4040 CYGWIN*|MSYS*)
4141 # transform D:\path\to\venv to /d/path/to/venv on MSYS
4242 # and to /cygdrive/d/path/to/venv on Cygwin
43- VIRTUAL_ENV=$(cygpath "/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env")
43+ VIRTUAL_ENV=$(cygpath "/Users/dk/Code/python-blockchain-tutorial /blockchain-env")
4444 export VIRTUAL_ENV
4545 ;;
4646 *)
4747 # use the path as-is
48- export VIRTUAL_ENV="/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env"
48+ export VIRTUAL_ENV="/Users/dk/Code/python-blockchain-tutorial /blockchain-env"
4949 ;;
5050esac
5151
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PA
99# Unset irrelevant variables.
1010deactivate nondestructive
1111
12- setenv VIRTUAL_ENV " /Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env"
12+ setenv VIRTUAL_ENV " /Users/dk/Code/python-blockchain-tutorial /blockchain-env"
1313
1414set _OLD_VIRTUAL_PATH=" $PATH "
1515setenv PATH " $VIRTUAL_ENV /bin:$PATH "
Original file line number Diff line number Diff line change 3333# Unset irrelevant variables.
3434deactivate nondestructive
3535
36- set -gx VIRTUAL_ENV " /Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env"
36+ set -gx VIRTUAL_ENV " /Users/dk/Code/python-blockchain-tutorial /blockchain-env"
3737
3838set -gx _OLD_VIRTUAL_PATH $PATH
3939set -gx PATH " $VIRTUAL_ENV /bin" $PATH
Original file line number Diff line number Diff line change 1- #!/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env/bin/python3.13
1+ #!/Users/dk/Code/python-blockchain-tutorial /blockchain-env/bin/python3.13
22# -*- coding: utf-8 -*-
33import re
44import sys
Original file line number Diff line number Diff line change 1- #!/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env/bin/python3.13
1+ #!/Users/dk/Code/python-blockchain-tutorial /blockchain-env/bin/python3.13
22# -*- coding: utf-8 -*-
33import re
44import sys
Original file line number Diff line number Diff line change 1- #!/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env/bin/python3.13
1+ #!/Users/dk/Code/python-blockchain-tutorial /blockchain-env/bin/python3.13
22# -*- coding: utf-8 -*-
33import re
44import sys
Original file line number Diff line number Diff line change 1- #!/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env/bin/python3.13
1+ #!/Users/dk/Code/python-blockchain-tutorial /blockchain-env/bin/python3.13
22# -*- coding: utf-8 -*-
33import re
44import sys
Original file line number Diff line number Diff line change 1- #!/Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env/bin/python3.13
1+ #!/Users/dk/Code/python-blockchain-tutorial /blockchain-env/bin/python3.13
22# -*- coding: utf-8 -*-
33import re
44import sys
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ home = /opt/homebrew/opt/python@3.13/bin
22include-system-site-packages = false
33version = 3.13.0
44executable = /opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/bin/python3.13
5- command = /opt/homebrew/opt/python@3.13/bin/python3.13 -m venv /Users/dk/Code/python-blockchain-q4-2025-audit /blockchain-env
5+ command = /opt/homebrew/opt/python@3.13/bin/python3.13 -m venv /Users/dk/Code/python-blockchain-tutorial /blockchain-env
Original file line number Diff line number Diff line change 1+ server {
2+ listen 80 ;
3+ server_name localhost;
4+ root /usr/share/nginx/html;
5+ index index .html;
6+
7+ # Handle React Router
8+ location / {
9+ try_files $uri $uri / /index .html;
10+ }
11+
12+ # Cache static assets
13+ location /static/ {
14+ expires 1y ;
15+ add_header Cache-Control "public, immutable" ;
16+ }
17+
18+ # Security headers
19+ add_header X-Frame-Options "SAMEORIGIN" always;
20+ add_header X-Content-Type-Options "nosniff" always;
21+ add_header X-XSS-Protection "1; mode=block" always;
22+
23+ # Gzip compression
24+ gzip on;
25+ gzip_vary on;
26+ gzip_min_length 1024 ;
27+ gzip_types text/plain text/css text/xml text/javascript application/javascript application/xml+rss application/json;
28+ }
You can’t perform that action at this time.
0 commit comments