Sfoglia il codice sorgente

fix: 页面标题改为四川路桥采集平台

kinglee 1 settimana fa
parent
commit
0ee22362e6
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      app/__init__.py
  2. 1 1
      app/templates/auth_callback.html

+ 1 - 1
app/__init__.py

@@ -34,7 +34,7 @@ def create_app(config_class=Config):
 
     @app.context_processor
     def inject_app_name():
-        return {'app_name': app.config.get('APP_NAME', '路桥采集平台')}
+        return {'app_name': app.config.get('APP_NAME', '四川路桥采集平台')}
 
     from .knowledge_poller import KnowledgePoller
     poller = KnowledgePoller(app)

+ 1 - 1
app/templates/auth_callback.html

@@ -3,7 +3,7 @@
 <head>
     <meta charset="utf-8">
     <meta content="width=device-width, initial-scale=1.0" name="viewport">
-    <title>SSO 登录回调</title>
+    <title>四川路桥采集平台 - SSO 登录回调</title>
     <script src="{{ url_for('static', filename='js/tailwindcss.js') }}"></script>
     <link href="{{ url_for('static', filename='fontawesome/css/all.min.css') }}" rel="stylesheet">
     <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">