zhong (钟鹏群) пре 3 недеља
родитељ
комит
efa2152776
1 измењених фајлова са 0 додато и 5 уклоњено
  1. 0 5
      deployments/flask-simple-ingress.yaml

+ 0 - 5
deployments/flask-simple-ingress.yaml

@@ -36,11 +36,6 @@ spec:
           def hello():
               return "<h1>Hello from Flask on port 8000!</h1>"
           
-          @app.route("/hello")
-          @app.route("/hello/")
-          def hello_path():
-              return "<h1>Hello from Flask /hello path! This redirects to root.</h1>"
-          
           if __name__ == "__main__":
               app.run(host="0.0.0.0", port=8000)
           ' > /app.py && \