SCGR commited on
Commit
73a1d3c
·
1 Parent(s): 9958bad

Revert "force rebuild"

Browse files

This reverts commit cc3b3f81b4d923a64dde8d9f9d8f0253ed45ec77.

py_backend/app/main.py CHANGED
@@ -65,18 +65,10 @@ async def health():
65
  @app.get("/", include_in_schema=False, response_class=HTMLResponse)
66
  def root():
67
  return """<!doctype html>
68
- <html>
69
- <head>
70
- <meta charset="UTF-8">
71
- <title>PromptAid Vision</title>
72
- <meta http-equiv="refresh" content="0;url=/app/">
73
- </head>
74
- <body>
75
- <h1>PromptAid Vision</h1>
76
- <p>Redirecting to app...</p>
77
- <p><a href="/app/">Click here if not redirected automatically</a></p>
78
- </body>
79
- </html>"""
80
 
81
  # Static file serving - must come AFTER API routes
82
  if os.path.exists("/app"):
 
65
  @app.get("/", include_in_schema=False, response_class=HTMLResponse)
66
  def root():
67
  return """<!doctype html>
68
+ <title>PromptAid Vision</title>
69
+ <h1>PromptAid Vision</h1>
70
+ <p>OK</p>
71
+ <p><a href="/app/">Open UI</a> • <a href="/docs">API Docs</a></p>"""
 
 
 
 
 
 
 
 
72
 
73
  # Static file serving - must come AFTER API routes
74
  if os.path.exists("/app"):
py_backend/static/index.html CHANGED
@@ -1,15 +1,14 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>PromptAid Vision</title>
8
- <link rel="stylesheet" href="/assets/index-CnrYqrbA.css">
9
- <!-- Force rebuild - MapDetailsPage updated with three-part analysis display -->
10
- </head>
11
- <body>
12
- <div id="root"></div>
13
- <script type="module" src="/assets/index-UhwP7SYq.js"></script>
14
- </body>
15
- </html>
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/app/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Vite + React + TS</title>
8
+ <script type="module" crossorigin src="/app/assets/index-UhwP7SYq.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/app/assets/index-CnrYqrbA.css">
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ </body>
14
+ </html>