mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 21:22:29 +02:00
Adds APP_URL as base tag href to enable loading via ui via ingress routes (#2195)
This commit is contained in:
@@ -311,7 +311,7 @@ def send_js(path):
|
||||
@app.route('/')
|
||||
@authorize
|
||||
def index():
|
||||
return render_template('index.html', google_analytics=GOOGLE_ANALYTICS)
|
||||
return render_template('index.html', google_analytics=GOOGLE_ANALYTICS, app_url=APP_URL)
|
||||
|
||||
|
||||
DEFAULT_UI_CONFIG = {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<base href="{{app_url}}">
|
||||
<title>PostgreSQL Operator UI</title>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user