6 lines
200 B
Plaintext
6 lines
200 B
Plaintext
@app.route('/')
|
|
def hello():
|
|
pod_name = socket.gethostname()
|
|
# 修改了这里的内容:
|
|
return f"<h1>Hello Fei! (v2 from Private Registry)</h1><p>Running in Pod: <b>{pod_name}</b></p>"
|