Browse Source

python3 http

Tom McKenzie 2 năm trước cách đây
mục cha
commit
0bd4f5d9d5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .rc.d/aliases.sh

+ 1 - 1
.rc.d/aliases.sh

@@ -25,7 +25,7 @@ alias k='kubectl'
 alias kx='kubectx'
 
 # http
-alias http-server='python -m SimpleHTTPServer'
+alias http-server='python3 -m http.server'
 
 # osx-only aliases
 if [[ "$(uname -s)" = 'Darwin' ]]; then